plugins/gallery/functions.php
changeset 38 512951548faa
parent 18 c1c398349651
child 42 7c6e2e97aa08
equal deleted inserted replaced
37:3afbd6374442 38:512951548faa
   100   if ( !$q )
   100   if ( !$q )
   101     $db->_die();
   101     $db->_die();
   102   
   102   
   103   if ( $db->numrows() < 1 )
   103   if ( $db->numrows() < 1 )
   104   {
   104   {
   105     return array();
   105     return array('_id' => 'NULL');
   106   }
   106   }
   107   
   107   
   108   $lookup_table = array();
   108   $lookup_table = array();
   109   $hier = array('_id' => 'NULL');
   109   $hier = array('_id' => 'NULL');
   110   $orphans = array();
   110   $orphans = array();