Merge branch 'patch-1' into 'master'

fix some smaller typos / variable names

See merge request !5
This commit is contained in:
Jana Deutschländer 2017-01-04 15:27:09 +01:00
commit 3f78608ebd

View file

@ -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