Index: openacs-4/packages/bookmarks/www/search.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bookmarks/www/search.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/bookmarks/www/search.tcl 13 Jan 2005 13:56:12 -0000 1.8 +++ openacs-4/packages/bookmarks/www/search.tcl 18 Apr 2014 06:38:29 -0000 1.9 @@ -19,7 +19,7 @@ } -validate { no_just_wildcard -requires {search_text:notnull} { - if [regexp {^%+$} $search_text] { + if {[regexp {^%+$} $search_text]} { ad_complain "Please search for more than just a wildcard." } } @@ -113,7 +113,7 @@ # Take this "if" statement out once oracle has a bm_bookmarks_get_folder_names equivalent. # Until then we won't display the folder_names column when using oracle. set db_type [db_rdbms_get_type [db_current_rdbms]] -if {$db_type != "postgresql"} { +if {$db_type ne "postgresql"} { template::list::element::set_property -list_name my_list \ -element_name folder_names -property hide_p -value 1 template::list::element::set_property -list_name others_list \