05-12-2017, 02:59 PM
I found $master_account had been defined in init.php just below the session_start line. All I needed to do was to define it as global in the function and all seems to work.
I notice this variable is also used in the securepage function so I guess that would need a global declaration as well if it ever gets called...
I notice this variable is also used in the securepage function so I guess that would need a global declaration as well if it ever gets called...