CMS MADE SIMPLE FORGE

CGSimpleSmarty

 

[#10406] [FIX] array_set not working

avatar
Created By: noosphere (noosphere)
Date Submitted: Wed Feb 04 08:34:46 -0500 2015

Assigned To: Robert Campbell (calguy1000)
Version: 1.7.3
CMSMS Version: 1.11.12
Severity: Major
Resolution: None
State: Open
Summary:
[FIX] array_set not working
Detailed Description:
Hi there!

Since I needed to use {array_set ...} noticed there are a couple of things to
fix.

In CGSimpleSmarty.module.php:

1. line 65 the function is registered as "cgsi_array_set", so the help
documentation example should be updated to use {cgsi_array_set ...}

2. line 91

$data = $smarty->get_template_var($name);

should be

$data = $smarty->get_template_vars($name);

Take care ;)


History

Comments
avatar
Date: 2015-02-04 09:26
Posted By: Robert Campbell (calguy1000)

I will fix it, but mark those functions as deprecated as they are not needed any
longer.
      
Updates

Updated: 2015-02-04 09:26
resolution_id: => 5