Fix reference to undefined variable in Design::toWebColor.

This commit is contained in:
Adrian Lang 2009-08-05 15:58:18 +02:00
parent 9421b36498
commit fe507928ae
1 changed files with 1 additions and 1 deletions

View 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;
}