From c787e46c2a11e5d34a14cb575aa561969073fa78 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 7 Oct 2009 20:14:51 -0700 Subject: Change the __set method on User_Definition to actually set the value as opposed to return it. --- modules/gallery/libraries/drivers/Identity.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules') 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; -- cgit v1.2.3