summaryrefslogtreecommitdiff
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:55 +0200
commit535e3bae79006dd54f6d5c4918133a05c03c43ed (patch)
tree81d567dbb71e4686230d2a5beafddb114381d2e3
parentb27af3247d4e0a13a1cd8b29e3938e8d81fa3d22 (diff)
Fix reference to undefined variable in Design::toWebColor.
-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;
}