From 2f0724158ca9fb58aa293c4828438014748605ba Mon Sep 17 00:00:00 2001 From: David McKay Date: Fri, 27 Apr 2012 21:18:10 +0100 Subject: [PATCH] Fixed E_STRICT warning with temporary variable --- 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 5595a33..73d3489 100644 --- a/modules/image/image.install +++ b/modules/image/image.install @@ -386,7 +386,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? -- 1.7.5.4