summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-09-26 23:31:36 +0000
committerDries Buytaert <dries@buytaert.net>2010-09-26 23:31:36 +0000
commit3780b17654a2af093c854f9c32bd2d6e102ec16c (patch)
tree0289b1288109ca1baecbddc7192f1cea84227e3a /scripts
parent88bc80a5974a5ff6bfedf0083934e791bf7cfcd7 (diff)
downloadbrdo-3780b17654a2af093c854f9c32bd2d6e102ec16c.tar.gz
brdo-3780b17654a2af093c854f9c32bd2d6e102ec16c.tar.bz2
- Patch #921606 by munzirtaha, bleen18: various code uses is_null().
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run-tests.sh2
1 files changed, 1 insertions, 1 deletions
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;
}