Version 5.0.14
This commit is contained in:
1 parent
5efe744c5f
commit
dbd774b30c
364 files changed
+7048
-1377
No files matched your search
@@ -92,7 +92,7 @@ class category extends Controller
|
||||
try
|
||||
{
|
||||
$category = $catClass::loadAndCheckPerms( Dispatcher::i()->categoryId );
|
||||
$category->saveFilterCookie( FALSE );
|
||||
$category::database()->saveFilterCookie( false, $category );
|
||||
|
||||
Output::i()->redirect( $category->url(), 'cms_filters_cleared' );
|
||||
}
|
||||
@@ -143,7 +143,7 @@ class category extends Controller
|
||||
|
||||
/* Check cookie */
|
||||
$where = array();
|
||||
$cookie = $category->getFilterCookie();
|
||||
$cookie = $category::database()->getFilterCookie( $category );
|
||||
|
||||
if ( $cookie !== NULL )
|
||||
{
|
||||
@@ -192,7 +192,7 @@ class category extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
$where = $category->buildWhereFromCookie( $cookie );
|
||||
$where = $category::database()->buildWhereFromCookie( $cookie, $category );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user