1
0
mirror of https://github.com/e107inc/e107.git synced 2025-05-02 18:27:52 +02:00

Gallery slider pop-up link fix. 'actualPreview' was being used by default.

This commit is contained in:
Cameron 2013-01-15 15:27:26 -08:00
parent ef2649f419
commit 608208544c

View File

@ -66,7 +66,8 @@ class gallery_shortcodes extends e_shortcode
$att = 'aw='.$w.'&ah='.$h.'&x=1'; // 'aw=190&ah=150';
$srcFull = $tp->thumbUrl($this->var['media_url'], $this->attFull);
if(isset($parm['actualPreview']))
if(vartrue($parms['actualPreview']))
{
$srcFull = $tp->replaceConstants($this->var['media_url'], 'full');
}