diff options
| author | Lester Caine <lester@lsces.co.uk> | 2005-12-09 19:42:48 +0000 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2005-12-09 19:42:48 +0000 |
| commit | df9edaccf6ea14537dbcce9dee550ce23505082b (patch) | |
| tree | e5f5264b3c74707adea51f62ba7461a67e13ce70 | |
| parent | 0b4d49f6f04e637e5dc6a3bbebd4a0bcb49dfa13 (diff) | |
| download | liberty-df9edaccf6ea14537dbcce9dee550ce23505082b.tar.gz liberty-df9edaccf6ea14537dbcce9dee550ce23505082b.tar.bz2 liberty-df9edaccf6ea14537dbcce9dee550ce23505082b.zip | |
Missing back ticks
| -rwxr-xr-x | LibertyStructure.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibertyStructure.php b/LibertyStructure.php index 658422d..9450790 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.8 2005/10/12 15:13:52 spiderr Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyStructure.php,v 1.9 2005/12/09 19:42:48 lsces Exp $ * @author spider <spider@steelsun.com> */ @@ -533,7 +533,7 @@ class LibertyStructure extends LibertyBase { function getContentIds( $pStructureId, &$pToc, $pLevel=0 ) { $ret = array(); - $query = "SELECT * from `".BIT_DB_PREFIX."tiki_structures` where `parent_id`=? ORDER BY pos, page_alias, content_id"; + $query = "SELECT * from `".BIT_DB_PREFIX."tiki_structures` where `parent_id`=? ORDER BY `pos`, `page_alias`, `content_id`"; $result = $this->mDb->query( $query, array( (int)$pStructureId ) ); while ( !$result->EOF ) { array_push( $pToc, $result->fields['content_id'] ); |
