Skip to content

Commit

Permalink
Merge pull request #34 from larseidam/EfZendDb_deleteMatchingStatements
Browse files Browse the repository at this point in the history
fix falsely overwriting $object array with a string in EfZendDB
  • Loading branch information
white-gecko committed Oct 20, 2012
2 parents f542ddb + f1d69db commit 0781410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Erfurt/Store/Adapter/EfZendDb.php
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ public function deleteMatchingStatements($graphUri, $subject, $predicate, $objec
}

if ($object !== null && strlen($object['value']) > $this->_getSchemaRefThreshold()) {
$object = substr($object['value'], 0, 128) . md5($object['value']);
$object['value'] = substr($object['value'], 0, 128) . md5($object['value']);
}

$whereString = '1';
Expand Down

0 comments on commit 0781410

Please sign in to comment.