Skip to content

Perform null check on timezone_identifiers_list_cache in AWLUtilities

TheDarkTron requested to merge TheDarkTron/awl:null-timezone-cache into master

Fixes #29

  • After calling timezone_identifiers_list() check if the variable $timezone_identifiers_list_cache is false and set the var to [] in this case.
  • When accessing $timezone_identifiers_list_cache perform a null check to prevent an exception if the global has not been initialized.
Edited by TheDarkTron

Merge request reports