summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-07 20:14:51 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-07 20:14:51 -0700
commitc787e46c2a11e5d34a14cb575aa561969073fa78 (patch)
treec53f2f8db771eca384d2dcc0a443d878950526b3 /modules
parentfa2ec8825dcaeaceb4857e3880ee4eee5de5bf71 (diff)
Change the __set method on User_Definition to actually set the value as opposed to return it.
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/libraries/drivers/Identity.php4
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;