summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Rothstein2012-12-08 21:29:59 (GMT)
committer David Rothstein2012-12-08 21:29:59 (GMT)
commiteb4dbe938ec70ba789ab8b169d89a86e49e4f6d0 (patch)
tree814997ee5b9d2b86b222e1b288ed5c550b2f6f77
parent2f00fb35896c796989daa6dd0527709daa71e040 (diff)
Issue #1550892 by david.mckay | fgm: Fixed reset() on function call in image_update_7002() to avoid an E_STRICT notice.
-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 b7aac71..1d7bd4e 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?