// Redirect
redirectToUrl($data['url'], FALSE);
- } else {
- // @TODO No banner found, output some default banner
- logDebugMessage(__FUNCTION__, __LINE__, 'Banner ' . bigintval(getRequestElement('banner')) . ' not dound.');
- }
+ } // END - if
+
+ // @TODO No banner found, output some default banner
+ logDebugMessage(__FUNCTION__, __LINE__, 'Banner ' . bigintval(getRequestElement('banner')) . ' not found.');
// Free memory
SQL_FREERESULT($result);
- } else {
- // Do nothing for now
- redirectToUrl('modules.php?module=index');
- }
+ } // END - if
+
+ // Do nothing for now
+ redirectToUrl('modules.php?module=index');
}
// Filter for redirecting on wrong server name (e.g. bad.your-server.tld will be redirected to your-server.tld)