diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-07 20:14:51 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-07 20:14:51 -0700 |
commit | c787e46c2a11e5d34a14cb575aa561969073fa78 (patch) | |
tree | c53f2f8db771eca384d2dcc0a443d878950526b3 | |
parent | fa2ec8825dcaeaceb4857e3880ee4eee5de5bf71 (diff) |
Change the __set method on User_Definition to actually set the value as opposed to return it.
-rw-r--r-- | modules/gallery/libraries/drivers/Identity.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/gallery/libraries/drivers/Identity.php b/modules/gallery/libraries/drivers/Identity.php index aa5bbd4c..e67547be 100644 --- a/modules/gallery/libraries/drivers/Identity.php +++ b/modules/gallery/libraries/drivers/Identity.php @@ -176,7 +176,9 @@ abstract class User_Definition { case "hash": case "url": case "locale": - return $this->user->$column; + Kohana::log("error", "__set($column, $value)"); + $this->user->$column = $value; + break; default: throw new Exception("@todo UNSUPPORTED FIELD: $column"); break; |