CMS MADE SIMPLE FORGE

Random Image Selector

 

[#6340] redudant ?> being inserted in pages

avatar
Created By: Ronald van Zantvoort (The_Loeki)
Date Submitted: Thu Mar 31 11:52:53 -0400 2011

Assigned To:
Version: v1.0.2
CMSMS Version: None
Severity: Major
Resolution: None
State: Open
Summary:
redudant ?> being inserted in pages
Detailed Description:
On CMS Made Simple 1.9.4.1 the last ?> is being inserted as ?> instead of it
being a closing PHP tag.



History

Comments
avatar
Date: 2012-01-18 11:07
Posted By: Duketown  (duketown)

Same problem found in 1.10.2 environment.
Last four lines of program contain:
        <?php
}
?>
?>
Change this to:
        <?php
}
?>

Now the program can be used as follows:
<img src="{random_image dir='uploads/mydir'}" height="140" />