diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-08-24 20:55:17 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-08-24 20:55:17 +0000 |
| commit | 2ffdf635ef58937eca0ae3d7c95bc3c052968126 (patch) | |
| tree | a1f5dd55f58263a415f678f74be5a4dd4bf7f112 /LibertyStructure.php | |
| parent | 5d100e8078e5a53a70aee8a29080fa00559b4972 (diff) | |
| download | liberty-2ffdf635ef58937eca0ae3d7c95bc3c052968126.tar.gz liberty-2ffdf635ef58937eca0ae3d7c95bc3c052968126.tar.bz2 liberty-2ffdf635ef58937eca0ae3d7c95bc3c052968126.zip | |
synch recent changes from R1 to HEAD
Diffstat (limited to 'LibertyStructure.php')
| -rwxr-xr-x | LibertyStructure.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibertyStructure.php b/LibertyStructure.php index 46424c5..7274191 100755 --- a/LibertyStructure.php +++ b/LibertyStructure.php @@ -3,7 +3,7 @@ * Management of Liberty Content * * @package liberty - * @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyStructure.php,v 1.5 2005/08/07 17:40:29 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyStructure.php,v 1.6 2005/08/24 20:55:17 squareing Exp $ * @author spider <spider@steelsun.com> */ @@ -541,7 +541,7 @@ class LibertyStructure extends LibertyBase { // it's used only in {toc} thing hardcoded in parse gBitSystem->parse -- (mose) // the $tocPrefix can be used to Prefix a subtree as it would start from a given number (e.g. 2.1.3) function build_subtree_toc($id,$slide=false,$order='asc',$tocPrefix='') { - $ret = array(); + $back = array(); $cant = $this->mDb->getOne("select count(*) from `".BIT_DB_PREFIX."tiki_structures` where `parent_id`=?",array((int)$id)); if ($cant) { $query = "SELECT `structure_id`, tc.`title`, `page_alias` |
