Fix a bunch of places where we were using "= null" instead of "IS NULL".

This commit is contained in:
Bharat Mediratta
2009-12-02 10:02:08 -08:00
parent d2cb217e20
commit 94411b3658
5 changed files with 6 additions and 8 deletions
@@ -198,7 +198,7 @@ class Server_Add_Controller extends Admin_Controller {
// they're done.
$entries = ORM::factory("server_add_file")
->where("task_id", "=", $task->id)
->where("item_id", "=", null)
->where("item_id", "IS", null)
->order_by("id", "ASC")
->limit(10)
->find_all();