diff --git a/airtime_mvc/application/models/Preference.php b/airtime_mvc/application/models/Preference.php index 956db1c0d..7f1656341 100644 --- a/airtime_mvc/application/models/Preference.php +++ b/airtime_mvc/application/models/Preference.php @@ -34,7 +34,7 @@ class Application_Model_Preference $userId = self::getUserId(); if ($isUserValue && is_null($userId)) { - throw new Exception("User id can't be null for a user preference."); + throw new Exception("User id can't be null for a user preference {$key}."); } Application_Common_Database::prepareAndExecute("LOCK TABLE cc_pref");