1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 20:01:47 +02:00

Task #75: Automated SEF string creation type not functioning on Gallery

category URLs - applying front-end changes
This commit is contained in:
SecretR
2013-01-18 08:55:45 +02:00
parent 476a7c9592
commit 15142cf76b
3 changed files with 6 additions and 6 deletions

View File

@@ -47,10 +47,10 @@ class plugin_gallery_index_controller extends eControllerFront
*/
protected $filter = array(
'category' => array(
'cat' => array('regex', '/[\w\pL\s\-+.,\']+/u'),
'cat' => array('regex', '/[\w\pL\s\-+.,]+/u'),
),
'list' => array(
'cat' => array('regex', '/[\w\pL\s\-+.,\']+/u'),
'cat' => array('regex', '/[\w\pL\s\-+.,]+/u'),
'frm' => array('int'),
),
);
@@ -107,7 +107,7 @@ class plugin_gallery_index_controller extends eControllerFront
$_cid = null;
foreach ($this->catList as $id => $row)
{
if($cid === $row['media_cat_title'])
if($cid === $row['media_cat_sef'])
{
$_cid = $id;
break;