Tweak to include parent_id in resize call, for custom albums.

This commit is contained in:
colings
2011-01-02 09:48:23 -06:00
parent e760200eee
commit c2a1ea64ed
+3 -1
View File
@@ -169,7 +169,9 @@ class graphics_Core {
}
foreach (self::_get_rules($target) as $rule) {
$args = array($working_file, $output_file, unserialize($rule->args));
$options = unserialize($rule->args);
$options["parent_id"] = $item->parent_id;
$args = array($working_file, $output_file, $options);
call_user_func_array($rule->operation, $args);
$working_file = $output_file;
}