Skip to content
Snippets Groups Projects
Commit e2004b91 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fail with graceful error message if msgbase is not defined.

parent 9f56c0b6
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -17,6 +17,8 @@ if(do_extra) { ...@@ -17,6 +17,8 @@ if(do_extra) {
do_rightnav=false; do_rightnav=false;
} }
if(!msgbase)
error("msgbase not defined");
if(msgbase.open!=undefined && msgbase.open()==false) { if(msgbase.open!=undefined && msgbase.open()==false) {
error(msgbase.last_error); error(msgbase.last_error);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment