summaryrefslogtreecommitdiff
path: root/modules/image
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2012-12-08 16:29:59 -0500
committerDavid Rothstein <drothstein@gmail.com>2012-12-08 16:29:59 -0500
commiteb4dbe938ec70ba789ab8b169d89a86e49e4f6d0 (patch)
tree814997ee5b9d2b86b222e1b288ed5c550b2f6f77 /modules/image
parent2f00fb35896c796989daa6dd0527709daa71e040 (diff)
downloadbrdo-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.install3
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?