diff options
author | David Rothstein <drothstein@gmail.com> | 2012-12-08 16:29:59 -0500 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2012-12-08 16:29:59 -0500 |
commit | eb4dbe938ec70ba789ab8b169d89a86e49e4f6d0 (patch) | |
tree | 814997ee5b9d2b86b222e1b288ed5c550b2f6f77 /modules/image | |
parent | 2f00fb35896c796989daa6dd0527709daa71e040 (diff) | |
download | brdo-eb4dbe938ec70ba789ab8b169d89a86e49e4f6d0.tar.gz brdo-eb4dbe938ec70ba789ab8b169d89a86e49e4f6d0.tar.bz2 |
Issue #1550892 by david.mckay | fgm: Fixed reset() on function call in image_update_7002() to avoid an E_STRICT notice.
Diffstat (limited to 'modules/image')
-rw-r--r-- | modules/image/image.install | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/image/image.install b/modules/image/image.install index b7aac7152..1d7bd4ef4 100644 --- a/modules/image/image.install +++ b/modules/image/image.install @@ -391,7 +391,8 @@ function image_update_7002(array &$sandbox) { } // Process the table at the top of the list. - $table = reset(array_keys($sandbox['tables'])); + $keys = array_keys($sandbox['tables']); + $table = reset($keys); $sandbox['processed'] += _image_update_7002_populate_dimensions($table, $sandbox['tables'][$table], $sandbox['last_fid']); // Has the table been fully processed? |