Commit 10cab55f authored by Robert Elwell's avatar Robert Elwell

Fix exception typo

parent 4ff171bd
...@@ -106,7 +106,7 @@ class Solarium_Document_AtomicUpdate extends Solarium_Document_ReadWrite ...@@ -106,7 +106,7 @@ class Solarium_Document_AtomicUpdate extends Solarium_Document_ReadWrite
public function getFields() public function getFields()
{ {
if ($this->key == null || !isset($this->_fields[$this->key])) { if ($this->key == null || !isset($this->_fields[$this->key])) {
throw new Exception('Solarium_Document_ReadOnly must have a unique-ID\'d key registered before it can be used to build update commands'); throw new Exception('Solarium_Document_AtomicUpdate must have a unique-ID\'d key registered before it can be used to build update commands');
} }
return parent::getFields(); return parent::getFields();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment