Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix reference in getModelOrCreate

  • Loading branch information...
commit 0525cffc115e1d84fa8f9a7e77e98c741b0368be 1 parent 7ddbc73
@white-gecko white-gecko authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 library/Erfurt/Store.php
View
4 library/Erfurt/Store.php
@@ -921,10 +921,10 @@ public function getModelOrCreate ($modelIri, $baseIri = '', $type = Erfurt_Store
{
try {
// Create it if it doesn't exist
- $model = $store->getNewModel($modelIri, $useAc);
+ $model = $this->getNewModel($modelIri, $useAc);
} catch (Erfurt_Store_Exception $e) {
// Get it if it already exists
- $model = $store->getModel($modelIri, $baseIri, $type, $useAc);
+ $model = $this->getModel($modelIri, $baseIri, $type, $useAc);
}
return $model;
Please sign in to comment.
Something went wrong with that request. Please try again.