use orderSRC instead of multiSRC to keep ordered state
This commit is contained in:
@@ -25,7 +25,7 @@ class News extends \Contao\News
|
|||||||
*/
|
*/
|
||||||
public function addImagesToTemplate($objTemplate, $arrData, $news)
|
public function addImagesToTemplate($objTemplate, $arrData, $news)
|
||||||
{
|
{
|
||||||
$multiSRC = deserialize($arrData['multiSRC']);
|
$multiSRC = deserialize($arrData['orderSRC']);
|
||||||
|
|
||||||
// Return if there are no files
|
// Return if there are no files
|
||||||
if (!is_array($multiSRC) || empty($multiSRC))
|
if (!is_array($multiSRC) || empty($multiSRC))
|
||||||
|
|||||||
Reference in New Issue
Block a user