From cf7cb6b65caae39a2491db8732148d717a21db1f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 22 Dec 2009 14:19:25 +0000 Subject: - Patch #635094 by plach: switching from zxx to und as it is semantically more correct. --- modules/node/tests/node_test_exception.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node/tests') diff --git a/modules/node/tests/node_test_exception.module b/modules/node/tests/node_test_exception.module index a8191a58c..c7edc8f24 100644 --- a/modules/node/tests/node_test_exception.module +++ b/modules/node/tests/node_test_exception.module @@ -11,7 +11,7 @@ * Implements hook_node_insert(). */ function node_test_exception_node_insert($node) { - if ($node->title['zxx'][0]['value'] == 'testing_transaction_exception') { + if ($node->title[LANGUAGE_NONE][0]['value'] == 'testing_transaction_exception') { throw new Exception('Test exception for rollback.'); } } -- cgit v1.2.3