Permalink
Browse files

Minor amend for compatibility with IO adapters

  • Loading branch information...
1 parent 34aede4 commit ee61355d8d107d20ca59e2de55fcf7726301bb82 @peteboere committed Sep 28, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/IO.php
View
3 lib/IO.php
@@ -151,7 +151,8 @@ public static function validateExistingOutput () {
}
}
- $existing_options = $process->cacheData[ $existingfile->name ][ 'options' ];
+ // Cast because the cached options may be a stdClass if an IO adapter has been used.
+ $existing_options = (array) $process->cacheData[ $existingfile->name ][ 'options' ];
$existing_datesum = $process->cacheData[ $existingfile->name ][ 'datem_sum' ];
$options_unchanged = true;

0 comments on commit ee61355

Please sign in to comment.