- Timestamp:
- 02/16/07 11:59:50 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/base/include/tasks_search_functions.php
r145 r186 54 54 $thequery = "update notes set notes.beenread=1 where (".$whereclause.") and type!=\"System\";"; 55 55 $theresult = mysql_query($thequery); 56 if (!$theresult) die ("Couldn't mark as read: ".mysql_error($dblink)."< BR>\n SQL STATEMENT [".$thequery."]");56 if (!$theresult) die ("Couldn't mark as read: ".mysql_error($dblink)."<br />\n SQL STATEMENT [".$thequery."]"); 57 57 } 58 58 … … 70 70 $querystatement = "delete from notes where (createdby=".$_SESSION["userinfo"]["id"]." or assignedtoid=".$_SESSION["userinfo"]["id"].") and (".$whereclause.");"; 71 71 $queryresult = mysql_query($querystatement,$dblink); 72 if (!$queryresult) reportError(1,"Couldn't Update: ".mysql_error($dblink)."< BR>\n SQL STATEMENT [".$querystatement."]");72 if (!$queryresult) reportError(1,"Couldn't Update: ".mysql_error($dblink)."<br />\n SQL STATEMENT [".$querystatement."]"); 73 73 } 74 74