mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 15:16:30 +02:00
Pages shortcode parameter issue
This commit is contained in:
@@ -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'], "");
|
||||
|
Reference in New Issue
Block a user