CMS MADE SIMPLE FORGE

CGSimpleSmarty

 

[#10541] get_template_vars missing s error ons server with php 5.5

avatar
Created By: Marc Maas (Masweb)
Date Submitted: Tue May 26 06:28:43 -0400 2015

Assigned To: Robert Campbell (calguy1000)
Version: 1.8
CMSMS Version: 1.12
Severity: Minor
Resolution: Fixed
State: Open
Summary:
get_template_vars missing s error ons server with php 5.5
Detailed Description:
After moving my website to a server with PHP 5.5 and update CMSMS and al his
modules I get an error in CG User Directory.

Fixed two typos in the code

In CGUserDirectory.module.php on line 154
      $returnid = cmsms()->GetSmarty()->get_template_var('content_id');
to
      $returnid = cmsms()->GetSmarty()->get_template_vars('content_id');

and in CGSimplySmarty.module.php on line 196
    $data = $smarty->get_template_var($name);
to
    $data = $smarty->get_template_vars($name);
 


History

Comments
avatar
Date: 2015-05-26 10:59
Posted By: Robert Campbell (calguy1000)

Fixed in svn, thanks.
though they are very minor issues. 
      
Updates

Updated: 2015-05-26 10:59
resolution_id: => 7
severity_id: 1 => 3