From 614587210a76cdda7b315d621a7beef82b319ac5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20T=C3=A4nzer?= Date: Sat, 21 Jan 2012 19:01:42 +0100 Subject: bug 1003: PHP won't let you expand constants in strings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Tänzer --- scripts/cron/permissionreview.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/cron/permissionreview.php b/scripts/cron/permissionreview.php index 0c8da09..74dd6c0 100755 --- a/scripts/cron/permissionreview.php +++ b/scripts/cron/permissionreview.php @@ -20,7 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA require_once('../../includes/mysql.php'); -define(BOARD_PRIVATE, 'cacert-board-private@lists.cacert.org'); +$BOARD_PRIVATE = 'cacert-board-private@lists.cacert.org'; $flags = array( 'admin' => 'Support Engineer', @@ -60,7 +60,7 @@ Hello $admin[fname], you get this message, because you are listed as $description on CAcert.org. Please review the following list of persons with the same privilege and report to the responsible team leader or board -({BOARD_PRIVATE}) if you spot any errors. +($BOARD_PRIVATE) if you spot any errors. $adminlist[$flag] @@ -98,4 +98,4 @@ Best Regards, CAcert Support EOF; -sendmail(BOARD_PRIVATE, "Permissions Review", $message, 'support@cacert.org'); +sendmail($BOARD_PRIVATE, "Permissions Review", $message, 'support@cacert.org'); -- cgit v1.2.1