X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmysql-connect.php;h=d799dedfebab43ae84a41f34f886dc9da390552b;hp=eaa939dc584e815308a8679cf361bee6af90e78f;hb=013448f0470ca36ab15b888928e2127e6da7d9b6;hpb=d484d78e586092da729986809bf8e65327e912f8 diff --git a/inc/mysql-connect.php b/inc/mysql-connect.php index eaa939dc58..d799dedfeb 100644 --- a/inc/mysql-connect.php +++ b/inc/mysql-connect.php @@ -77,7 +77,7 @@ if ((!isInstalling()) && (!isInstallationPhase())) { loadIncludeOnce('inc/db/lib.php'); // Set missing module - if (!isModuleSet()) setModule(getRequestElement('module')); + if ((!isModuleSet()) && (isGetRequestElementSet('module'))) setModule(getRequestElement('module')); if (!isModuleSet()) setModule('index'); // Load configuration file(s) here