Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Minor amend for compatibility with IO adapters

  • Loading branch information...
commit ee61355d8d107d20ca59e2de55fcf7726301bb82 1 parent 34aede4
Pete Boere authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  lib/IO.php
3  lib/IO.php
@@ -151,7 +151,8 @@ public static function validateExistingOutput () {
151 151 }
152 152 }
153 153
154   - $existing_options = $process->cacheData[ $existingfile->name ][ 'options' ];
  154 + // Cast because the cached options may be a stdClass if an IO adapter has been used.
  155 + $existing_options = (array) $process->cacheData[ $existingfile->name ][ 'options' ];
155 156 $existing_datesum = $process->cacheData[ $existingfile->name ][ 'datem_sum' ];
156 157
157 158 $options_unchanged = true;

0 comments on commit ee61355

Please sign in to comment.
Something went wrong with that request. Please try again.