projects
/
project/drupal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2f00fb3
)
Issue #1550892 by david.mckay | fgm: Fixed reset() on function call in image_update_7...
author
David Rothstein
Sat, 8 Dec 2012 21:29:59 +0000 (16:29 -0500)
committer
David Rothstein
Sat, 8 Dec 2012 21:29:59 +0000 (16:29 -0500)
modules/image/image.install
patch
|
blob
|
blame
|
history
diff --git
a/modules/image/image.install
b/modules/image/image.install
index
b7aac71
..
1d7bd4e
100644
(file)
--- 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?