CMS MADE SIMPLE FORGE

CMSMSExt

 

[#12598] function get_state_list_options is missing

avatar
Created By: Magal (magallo)
Date Submitted: Fri Jan 27 06:05:53 -0500 2023

Assigned To: Fernando Morgado (JoMorg)
Version: 1.4.5
CMSMS Version: 2.2.18
Severity: Major
Resolution: None
State: Open
Summary:
function get_state_list_options is missing
Detailed Description:
function get_state_list_options() is missing, select values are empty



History

Comments
avatar
Date: 2024-05-08 05:24
Posted By: Magal (magallo)

class.smarty_plugins.php:

$list   = $this->mod->get_state_list_options();


class.XTModule.php:

  public function get_state_list_options()
  {
    $xt = $this->get_xt();
    $fn  = $xt->find_module_file('etc/states.json');
    if($fn)
    {
      return \json_decode(\file_get_contents($fn), TRUE);
    }
  }
      
avatar
Date: 2024-08-16 16:59
Posted By: Matt Hornsby (DIGI3) (DIGI3)

Still a problem in version 1.5.1, but with a different error:
Property 'get_xt' does not exist.
      
Updates

Updated: 2024-05-08 05:24
description: function get_state_list_options() is missing, select values are empty => function get_state_list_options() is missing, select values are empty
version_id: 31800 => 31849
resolution_id: => 5
severity_id: 3 => 2
cmsms_version_id: 31780 => 31828