Changeset 1724
- Timestamp:
- 08/30/08 22:52:30 (3 months ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
lib/class/browse.class.php (modified) (1 diff)
-
lib/search.php (modified) (2 diffs)
-
search.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/class/browse.class.php
r1698 r1724 937 937 } 938 938 else { 939 $object_ids = $object_ids? $object_ids : self::get_saved();939 $object_ids = is_array($object_ids) ? $object_ids : self::get_saved(); 940 940 self::save_objects($object_ids); 941 941 } -
trunk/lib/search.php
r1666 r1724 86 86 } // end switch 87 87 88 return false;88 return array(); 89 89 90 90 } // run_search … … 220 220 221 221 $db_results = Dba::query($sql); 222 223 $results = array(); 222 224 223 225 while ($row = Dba::fetch_assoc($db_results)) { -
trunk/search.php
r1675 r1724 46 46 Browse::set_type('song'); 47 47 Browse::reset(); 48 Browse::set_static_content(1);49 48 Browse::show_objects($results); 50 49 break;
