Skip to content

Commit

Permalink
When using git version avoid warning about developer_email being unde…
Browse files Browse the repository at this point in the history
…fined. (#197)
  • Loading branch information
bramley authored and michield committed Sep 25, 2017
1 parent c21d072 commit 8910499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public_html/lists/admin/index.php
Expand Up @@ -502,7 +502,7 @@ function mb_strtolower($string)

if (!$ajax && $page != 'login') {
if (strpos(VERSION, 'dev') && !TEST) {
if ($GLOBALS['developer_email']) {
if (!empty($GLOBALS['developer_email'])) {
Info('Running DEV version. All emails will be sent to '.$GLOBALS['developer_email']);
} else {
Info('Running DEV version, but developer email is not set');
Expand Down

0 comments on commit 8910499

Please sign in to comment.