Merge branch 'patch-1' into 'master'
fix some smaller typos / variable names See merge request !5
This commit is contained in:
commit
3f78608ebd
1 changed files with 6 additions and 3 deletions
|
@ -3,7 +3,10 @@
|
|||
?>
|
||||
|
||||
<?php
|
||||
/** @var \helper_plugin_qc $qc */
|
||||
$doPlugin = plugin_load('helper','do');
|
||||
|
||||
/** @var \helper_plugin_qc $qc */
|
||||
$qc = plugin_load('helper','qc');
|
||||
if ($doPlugin !== null ||$qc ) {
|
||||
echo "<ul class=\"page-attributes\">";
|
||||
|
@ -13,9 +16,9 @@
|
|||
$qc->tplErrorCount();
|
||||
echo "</li>";
|
||||
}
|
||||
if ($doplugin !== null ) {
|
||||
$tasks = $doplugin->getPageTaskCount();
|
||||
$num = $tasks[count];
|
||||
if ($doPlugin !== null ) {
|
||||
$count = $doPlugin->getPageTaskCount();
|
||||
$num = $count['count'];
|
||||
$title = "";
|
||||
|
||||
if($num == 0){ // no tasks - does not exist do in plug-in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue