Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
solarium
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
solarium
Commits
10cab55f
Commit
10cab55f
authored
Dec 10, 2012
by
Robert Elwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix exception typo
parent
4ff171bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
library/Solarium/Document/AtomicUpdate.php
library/Solarium/Document/AtomicUpdate.php
+1
-1
No files found.
library/Solarium/Document/AtomicUpdate.php
View file @
10cab55f
...
@@ -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
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment