diff options
| author | spiderr <spiderr@bitweaver.org> | 2020-12-23 09:41:20 -0500 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2020-12-23 09:41:20 -0500 |
| commit | c393db6d91e7f7d3edea4edabbf36c1c209b5cd1 (patch) | |
| tree | be883f952115254d0e37560205b2824833cae943 /modules | |
| parent | 8df942f40025d1d09b9bc1328a63db88bfb8f90e (diff) | |
| download | liberty-c393db6d91e7f7d3edea4edabbf36c1c209b5cd1.tar.gz liberty-c393db6d91e7f7d3edea4edabbf36c1c209b5cd1.tar.bz2 liberty-c393db6d91e7f7d3edea4edabbf36c1c209b5cd1.zip | |
PHP7 warnings cleanup
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/mod_structure_toc.php | 2 |
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'] ); } |
