Fixes wildcard exception occurence on deleting resources.

This commit is contained in:
diml 2007-09-10 19:48:31 +00:00
parent 1b4bb51edb
commit 5c8f580358

View 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 != ' ' AND TYPE != 'file') OR TYPE = 'file' "));
return array(array('id', 'resource', 'timemodified', 'timemodified', 'any', " (alltext != '' AND alltext != ' ' AND alltext != ' ' AND TYPE != 'file') OR TYPE = 'file' "));
} //resource_db_names
/**