summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorspiderr <spiderr@bitweaver.org>2020-12-23 09:41:20 -0500
committerspiderr <spiderr@bitweaver.org>2020-12-23 09:41:20 -0500
commitc393db6d91e7f7d3edea4edabbf36c1c209b5cd1 (patch)
treebe883f952115254d0e37560205b2824833cae943 /modules
parent8df942f40025d1d09b9bc1328a63db88bfb8f90e (diff)
downloadliberty-c393db6d91e7f7d3edea4edabbf36c1c209b5cd1.tar.gz
liberty-c393db6d91e7f7d3edea4edabbf36c1c209b5cd1.tar.bz2
liberty-c393db6d91e7f7d3edea4edabbf36c1c209b5cd1.zip
PHP7 warnings cleanup
Diffstat (limited to 'modules')
-rw-r--r--modules/mod_structure_toc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mod_structure_toc.php b/modules/mod_structure_toc.php
index b79dd04..164f9b9 100644
--- a/modules/mod_structure_toc.php
+++ b/modules/mod_structure_toc.php
@@ -39,7 +39,7 @@ if( is_object( $gStructure ) && $gStructure->isValid() && $gStructure->hasViewPe
}
}
-if( is_object( $struct ) && count( $struct->isValid() ) ) {
+if( is_object( $struct ) && $struct->isValid() ) {
if( !empty( $moduleParams['title'] ) ) {
$_template->tpl_vars['moduleTitle'] = new Smarty_variable( $moduleParams['title'] );
}