]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix reference to undefined variable in Design::toWebColor.
authorAdrian Lang <mail@adrianlang.de>
Wed, 5 Aug 2009 13:58:18 +0000 (15:58 +0200)
committerAdrian Lang <mail@adrianlang.de>
Wed, 5 Aug 2009 13:59:18 +0000 (15:59 +0200)
classes/Design.php

index 43544f1c9d54e8bcf2cb37fb56103960335c6717..5d8364be5a3963849016fc7bdea6a40bd1433d49 100644 (file)
@@ -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;
         }