summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/form_test.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-21 17:01:31 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-21 17:01:31 +0000
commit7d21ca61fc3ba3bcde7981a37971beb740e087ae (patch)
tree2ea8e6d91bbab05cde40c1b971e6b6d65eb6ae6c /modules/simpletest/tests/form_test.module
parent030963e095dfb0a72542a4fc08d53d1767d0e158 (diff)
downloadbrdo-7d21ca61fc3ba3bcde7981a37971beb740e087ae.tar.gz
brdo-7d21ca61fc3ba3bcde7981a37971beb740e087ae.tar.bz2
#634440 follow-up by sun: More fixes post-form_state storage removal.
Diffstat (limited to 'modules/simpletest/tests/form_test.module')
-rw-r--r--modules/simpletest/tests/form_test.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/tests/form_test.module b/modules/simpletest/tests/form_test.module
index 2a4f867bd..5c809580f 100644
--- a/modules/simpletest/tests/form_test.module
+++ b/modules/simpletest/tests/form_test.module
@@ -284,7 +284,7 @@ function form_test_mock_form_submit($form, &$form_state) {
*/
function form_storage_test_form($form, &$form_state) {
// Initialize
- if (!isset($form_state['storage'])) {
+ if (empty($form_state['storage'])) {
if (empty($form_state['input'])) {
$_SESSION['constructions'] = 0;
}