]> git.mjollnir.org Git - moodle.git/commitdiff
Fixes wildcard exception occurence on deleting resources.
authordiml <diml>
Mon, 10 Sep 2007 19:48:31 +0000 (19:48 +0000)
committerdiml <diml>
Mon, 10 Sep 2007 19:48:31 +0000 (19:48 +0000)
search/documents/resource_document.php

index 3bc782b0f29e4042581d1edd086936d1163b8191..98722bf62ca3661459ddef4c28b95c341e024b80 100644 (file)
@@ -274,7 +274,7 @@ function resource_delete($info, $itemtype) {
 */
 function resource_db_names() {
     //[primary id], [table name], [time created field name], [time modified field name], [additional where conditions for sql]
-    return array(array('id', 'resource', 'timemodified', 'timemodified', '*', " (alltext != '' AND alltext != ' ' AND alltext != '&nbsp;' AND TYPE != 'file') OR TYPE = 'file' "));
+    return array(array('id', 'resource', 'timemodified', 'timemodified', 'any', " (alltext != '' AND alltext != ' ' AND alltext != '&nbsp;' AND TYPE != 'file') OR TYPE = 'file' "));
 } //resource_db_names
 
 /**