CMS MADE SIMPLE FORGE

CGExtensions

 

[#11488] 2 x problems with {cge_country_options}

avatar
Created By: Mario S (rotezecke) (rotezecke)
Date Submitted: Fri Jul 14 05:56:46 -0400 2017

Assigned To: Robert Campbell (calguy1000)
Version: 1.55.6
CMSMS Version: 2.2.2
Severity: Minor
Resolution: None
State: Open
Summary:
2 x problems with {cge_country_options}
Detailed Description:
also see 
https://forum.cmsmadesimple.org/viewtopic.php?f=7&t=76911

1) the function smarty_function_cge_country_options in
lib/class.smarty_plugins.php fails to execute the new get_country_list() method
found in CGExtensions.module.php. when changing that get_country_list() function
from protected to public, it works.

2) the function smarty_function_cge_country_options in
lib/class.smarty_plugins.php fails to set selected="selected" as
in_array($row['code'],$selected) is always false; $selected is not defined.


History

Comments
avatar
Date: 2017-08-16 17:37
Posted By: Mario S (rotezecke) (rotezecke)

This seems to be fixed in 1.56.1 (or earlier?)