summaryrefslogtreecommitdiff
path: root/classes/Design.php
diff options
context:
space:
mode:
authorAdrian Lang <mail@adrianlang.de>2009-08-05 15:58:18 +0200
committerAdrian Lang <mail@adrianlang.de>2009-08-05 15:59:18 +0200
commitfe507928ae09294d4a59d2f85e83a886f04310c3 (patch)
tree40d81e91de229ca83ccb51df1677e0fd782ada37 /classes/Design.php
parent9421b36498f856ca7f29c3b803b99521590d58c5 (diff)
Fix reference to undefined variable in Design::toWebColor.
Diffstat (limited to 'classes/Design.php')
-rw-r--r--classes/Design.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Design.php b/classes/Design.php
index 43544f1c9..5d8364be5 100644
--- a/classes/Design.php
+++ b/classes/Design.php
@@ -115,7 +115,7 @@ class Design extends Memcached_DataObject
return new WebColor($color);
} catch (WebColorException $e) {
// This shouldn't happen
- common_log(LOG_ERR, "Unable to create color for design $id.",
+ common_log(LOG_ERR, 'Unable to create color for design '.$this->id,
__FILE__);
return null;
}