summaryrefslogtreecommitdiff
path: root/classes/Design.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-08-05 16:03:00 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-08-05 16:03:00 -0400
commit180ac80d4e7b5fd5ab16abd74f9c5aa330d59ebf (patch)
tree1e5f9d95176fcf191e48ecae5e254544d7cf8384 /classes/Design.php
parente797001be4cd982ed778bda16744ab4007eb31c8 (diff)
parentc3a522623c3a0628c33407ee01b16e189c44bba5 (diff)
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
Diffstat (limited to 'classes/Design.php')
-rw-r--r--classes/Design.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Design.php b/classes/Design.php
index 43544f1c9..9354bfcda 100644
--- a/classes/Design.php
+++ b/classes/Design.php
@@ -107,7 +107,7 @@ class Design extends Memcached_DataObject
static function toWebColor($color)
{
- if (is_null($color)) {
+ if ($color == null) {
return null;
}
@@ -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 web color for $color",
__FILE__);
return null;
}