Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the fix for the editable id column

With the previous fix i managed to break the create, it should be fine now
  • Loading branch information...
commit 9a156500f422847d2adb9a0e0237ec92211ab9ab 1 parent 3016730
@tefra tefra authored
Showing with 4 additions and 7 deletions.
  1. +4 −7 data/Entity.php
View
11 data/Entity.php
@@ -406,17 +406,14 @@ public function export() {
* @param string $name Optionally included field name.
* @return mixed Entire stored data array if $name is empty, otherwise the value from the named field.
*/
- public function stored($name = null)
- {
- if($this->exists())
- {
- if($name)
- {
+ public function stored($name = null){
+ if($this->exists()) {
+ if($name) {
return isset($this->_data[$name]) ? $this->_data[$name] : null;
}
return $this->_data;
}
- return false;
+ return $this->data($name);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.