Minor DB updates
This commit is contained in:
@@ -55,7 +55,7 @@ class Controller_Product extends Controller_TemplateDefault {
|
||||
$co = ORM::factory('product_category',$_GET['cid']);
|
||||
|
||||
// If the product category doesnt exist, or doesnt match the product
|
||||
if (! $co->loaded() OR ! in_array($co->id,unserialize($po->avail_category_id)))
|
||||
if (! $co->loaded() OR ! in_array($co->id,unserialize($po->avail_category)))
|
||||
Request::current()->redirect('product_category/index');
|
||||
|
||||
Breadcrumb::name('product/view',$co->name);
|
||||
|
Reference in New Issue
Block a user