mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Gallery: Issue #2205
This commit is contained in:
parent
963f35ded1
commit
ed5fc5e22c
@ -215,11 +215,11 @@ class gallery_shortcodes extends e_shortcode
|
||||
* Amount per row differs according to device, so they are not set here, only the amount.
|
||||
* @example {GALLERY_PORTFOLIO: placeholder=1&category=2}
|
||||
*/
|
||||
function sc_gallery_portfolio($parms = '')
|
||||
function sc_gallery_portfolio($parm=null)
|
||||
{
|
||||
$ns = e107::getRender();
|
||||
$tp = e107::getParser();
|
||||
$parm = eHelper::scParams($parms);
|
||||
// $parm = eHelper::scParams($parms);
|
||||
$cat = (!empty($parm['category'])) ? $parm['category'] : vartrue(e107::getPlugPref('gallery', 'slideshow_category'), false); //TODO Separate pref?
|
||||
|
||||
$tmpl = e107::getTemplate('gallery', 'gallery');
|
||||
|
Loading…
x
Reference in New Issue
Block a user