diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-09-26 23:31:36 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-09-26 23:31:36 +0000 |
commit | 3780b17654a2af093c854f9c32bd2d6e102ec16c (patch) | |
tree | 0289b1288109ca1baecbddc7192f1cea84227e3a /modules/simpletest/tests/batch_test.module | |
parent | 88bc80a5974a5ff6bfedf0083934e791bf7cfcd7 (diff) | |
download | brdo-3780b17654a2af093c854f9c32bd2d6e102ec16c.tar.gz brdo-3780b17654a2af093c854f9c32bd2d6e102ec16c.tar.bz2 |
- Patch #921606 by munzirtaha, bleen18: various code uses is_null().
Diffstat (limited to 'modules/simpletest/tests/batch_test.module')
-rw-r--r-- | modules/simpletest/tests/batch_test.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/tests/batch_test.module b/modules/simpletest/tests/batch_test.module index 03938aaa8..c581eabb3 100644 --- a/modules/simpletest/tests/batch_test.module +++ b/modules/simpletest/tests/batch_test.module @@ -466,7 +466,7 @@ function batch_test_stack($data = NULL, $reset = FALSE) { if ($reset) { variable_del('batch_test_stack'); } - if (is_null($data)) { + if (!isset($data)) { return variable_get('batch_test_stack', array()); } $stack = variable_get('batch_test_stack', array()); |