summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/field_test.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-25 16:38:51 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-25 16:38:51 +0000
commitb1cf3f1d26f9fd177548f5305f104c2d8d8df90e (patch)
treefd673018856f0ef36557fa039ec2322711e54707 /modules/simpletest/tests/field_test.module
parent9756ad05ec7ae446c4f8d5846cc46cac0a24da4c (diff)
downloadbrdo-b1cf3f1d26f9fd177548f5305f104c2d8d8df90e.tar.gz
brdo-b1cf3f1d26f9fd177548f5305f104c2d8d8df90e.tar.bz2
#558756 by Davy Van Den Bremt: Fix non-by-referenced calls to drupal_static().
Diffstat (limited to 'modules/simpletest/tests/field_test.module')
-rw-r--r--modules/simpletest/tests/field_test.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/tests/field_test.module b/modules/simpletest/tests/field_test.module
index 8192280ea..54ae3d405 100644
--- a/modules/simpletest/tests/field_test.module
+++ b/modules/simpletest/tests/field_test.module
@@ -669,7 +669,7 @@ function field_test_fieldable_info_translatable($obj_type = NULL, $translatable
* for that key.
*/
function field_test_memorize($key = NULL, $value = NULL) {
- $memorize =& drupal_static(__FUNCTION__, NULL);
+ $memorize = &drupal_static(__FUNCTION__, NULL);
if (is_null($key)) {
$ret = $memorize;