1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-22 13:41:52 +02:00

Fix for SEF Url selection. Index or disabled only.

This commit is contained in:
Cameron 2016-05-20 19:06:30 -07:00
parent b23d477f26
commit 6952cb9272

@ -29,7 +29,7 @@ if (!getperms("I"))
e107::coreLan('links', true);
e107::css('inline', " td .label-warning { margin-left:30px } ");
class links_admin extends e_admin_dispatcher
@ -720,12 +720,13 @@ class links_admin_form_ui extends e_admin_form_ui
foreach($config as $k=>$v)
{
if(strpos($v['regex'],')')===false) // only provide urls without dynamic elements.
if($k == 'index') // only provide urls without dynamic elements.
{
$opts[] = $k;
}
}
sort($opts);
return $this->select('link_sefurl', $opts, $curVal, array('useValues'=>true,'defaultValue'=>'','default'=>'('.LAN_DISABLED.')'));
}