1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Pages shortcode parameter issue

This commit is contained in:
SecretR
2013-04-25 17:45:05 +03:00
parent 32bf779ba8
commit be3b3c2ebb

View File

@@ -168,7 +168,7 @@ class cpage_shortcodes extends e_shortcode
return '<a class="cpage" href="'.$url.'">'.$this->sc_cpagetitle().'</a>';
}
function sc_cpagebutton($parm,$options)
function sc_cpagebutton($parm)
{
$url = $this->sc_cpageurl();
@@ -177,7 +177,7 @@ class cpage_shortcodes extends e_shortcode
return $url;
}
parse_str($options,$options);
parse_str($parm,$options);
$text = vartrue($options['text'], "Read more..");
$size = vartrue($options['size'], "");