* Corrected the spelling of function 'se()' to 'set()'.

This commit is contained in:
liukmqd@gmail.com
2011-06-23 03:41:31 +00:00
parent 38fca81d87
commit a5817956ba
+1 -1
View File
@@ -246,7 +246,7 @@ class common extends control
{
global $app;
if($productID > 0) $app->session->set('product', (int)$productID);
if($productID == 0 and $app->cookie->lastProduct) $app->session->se('product', (int)$app->cookie->lastProduct);
if($productID == 0 and $app->cookie->lastProduct) $app->session->set('product', (int)$app->cookie->lastProduct);
if($productID == 0 and $app->session->product == '') $app->session->set('product', $defaultProductID);
return $app->session->product;
}