Show
Ignore:
Timestamp:
08/30/08 22:52:30 (4 months ago)
Author:
vollmerk
Message:

fix search when no results are found, actually show the correct "error"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/class/browse.class.php

    r1698 r1724  
    937937                }  
    938938                else {  
    939                         $object_ids = $object_ids ? $object_ids : self::get_saved(); 
     939                        $object_ids = is_array($object_ids) ? $object_ids : self::get_saved(); 
    940940                        self::save_objects($object_ids);  
    941941                }