diff options
| author | santo spider <spider@santo> | 2014-11-26 12:16:14 -0500 |
|---|---|---|
| committer | santo spider <spider@santo> | 2014-11-26 12:16:14 -0500 |
| commit | 8e2505f36ef509395ff85b29c0edd78ce8c72bb9 (patch) | |
| tree | 2fcd3d3c0a79bfd336f29593d8a7643316e0b875 /modules | |
| parent | 91a6992587abbe4f48108605a8c13fbaef68533b (diff) | |
| download | liberty-8e2505f36ef509395ff85b29c0edd78ce8c72bb9.tar.gz liberty-8e2505f36ef509395ff85b29c0edd78ce8c72bb9.tar.bz2 liberty-8e2505f36ef509395ff85b29c0edd78ce8c72bb9.zip | |
disable security checkn in mod_structure check
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 2895619..2b75e77 100644 --- a/modules/mod_structure_toc.php +++ b/modules/mod_structure_toc.php @@ -21,7 +21,7 @@ if( is_object( $gStructure ) && $gStructure->isValid() && $gStructure->hasViewPe } elseif( @BitBase::verifyId( $module_params['structure_id'] ) ) { $struct = new LibertyStructure( $module_params['structure_id'] ); $struct->load(); -} elseif( is_object( $gContent ) && $gContent->hasViewPermission() ) { +} elseif( is_object( $gContent ) && $gContent->hasViewPermission( FALSE ) ) { $structures = $gContent->getStructures(); // We take the first structure. not good, but works for now - spiderr if( !empty( $structures[0] ) ) { |
