Changed use of active to status
This commit is contained in:
@@ -15,7 +15,7 @@ class Controller_Product extends Controller_TemplateDefault {
|
||||
$output = '<div id="category">';
|
||||
$output .= '<ul>';
|
||||
|
||||
foreach (ORM::factory('product_category')->list_active()->find_all() as $pco) {
|
||||
foreach (ORM::factory('product_category')->list_active() as $pco) {
|
||||
$a = '<h3>'.$pco->display('name').'</h3>';
|
||||
$a .= '<p>'.$pco->description().'</p>';
|
||||
|
||||
|
Reference in New Issue
Block a user