From 3780b17654a2af093c854f9c32bd2d6e102ec16c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 26 Sep 2010 23:31:36 +0000 Subject: - Patch #921606 by munzirtaha, bleen18: various code uses is_null(). --- scripts/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/run-tests.sh') diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index 482163a12..ee6c90080 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -302,7 +302,7 @@ function simpletest_script_init($server_software) { function simpletest_script_execute_batch() { global $args; - if (is_null($args['test-id'])) { + if (!isset($args['test-id'])) { simpletest_script_print_error("--execute-batch should not be called interactively."); exit; } -- cgit v1.2.3