]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-13440 fixed typo; merging from 1.9
authornicolasconnault <nicolasconnault>
Tue, 12 Feb 2008 13:46:57 +0000 (13:46 +0000)
committernicolasconnault <nicolasconnault>
Tue, 12 Feb 2008 13:46:57 +0000 (13:46 +0000)
mod/data/view.php

index b12ca265ad08a524582145781f13562c8193c140..b29ffdfcc8af123a7f60808de71775c98f118822 100755 (executable)
     }
 
     //Advanced search form doesn't make sense for single (redirects list view)
-    if ($records || $search || $page ||  $mode = 'asearch'  && $mode != 'single') {
+    if ($records || $search || $page ||  $mode == 'asearch'  && $mode != 'single') {
         data_print_preference_form($data, $perpage, $search, $sort, $order, $search_array, $advanced, $mode);
     }