cubecart / v6

CubeCart Version 6
https://cubecart.com
72 stars 59 forks source link

Language Methods to have Try/Catch #3513

Closed bhsmither closed 5 months ago

bhsmither commented 5 months ago

In Language->loadDefinitions() and Language->loadLanguageXML() (and perhaps other places), creating an instance of SimpleXMLElement has no try/catch structure (see Language->importEmail()).

Suggest implementing this structure for a controlled return out of these methods.

abrookbanks commented 5 months ago

Thanks for this.