Commits

Jon Langevin  committed 137b6d9

Updating memory driver to ensure key is a string

  • Participants
  • Parent commits 15eead0

Comments (0)

Files changed (1)

File drivers/memory/Object.php

     }
 
     public function setKey($key) {
+        if (!is_int($key) && !is_string($key))
+            $key = \ext\activedocument\Document::stringify($key);
         return parent::setKey($this->updateObjectPosition($key));
     }