change harmless check of to check of in Memcached_DataObject

This commit is contained in:
Evan Prodromou 2010-01-02 16:21:19 -10:00
parent 52fbd10162
commit 2bd32dfad7

View File

@ -99,7 +99,7 @@ class Memcached_DataObject extends DB_DataObject
}
static function cacheKey($cls, $k, $v) {
if (is_object($cls) || is_object($j) || is_object($v)) {
if (is_object($cls) || is_object($k) || is_object($v)) {
$e = new Exception();
common_log(LOG_ERR, __METHOD__ . ' object in param: ' .
str_replace("\n", " ", $e->getTraceAsString()));