From: x2003bruneau Date: Tue, 21 Aug 2007 09:09:10 +0000 (+0000) Subject: Fix "send_warning_mail" function (missing global $globals after email domain violent... X-Git-Tag: xorg/0.9.15~201 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=8932382b8376be92dfc192e42231922d7541b8ca;p=platal.git Fix "send_warning_mail" function (missing global $globals after email domain violent rewriting) xorg.misc.inc.php | 1 + 1 file changed, 1 insertion(+) git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1925 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/include/xorg.misc.inc.php b/include/xorg.misc.inc.php index 48be415..0e25a0e 100644 --- a/include/xorg.misc.inc.php +++ b/include/xorg.misc.inc.php @@ -291,6 +291,7 @@ function check_redirect($red = null) function send_warning_mail($title) { + global $globals; $mailer = new PlMailer(); $mailer->setFrom("webmaster@" . $globals->mail->domain); $mailer->addTo($globals->core->admin_email);