Skip to content

Commit

Permalink
Bugfix: Used wrong variable in activity_email sending
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipberndt committed Oct 27, 2011
1 parent 91baacc commit 66d56c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ function admin_log($text) {/*{{{*/
fclose($log_file);
}/*}}}*/
function activity_email($text) {/*{{{*/
if(!$GLOBALS['activity_email']) return;
if(!$GLOBALS['activity_mail']) return;
$directory = dirname($_SERVER['REQUEST_URI']); if(substr($directory, -1) != '/') $directory .= '/';
mail($GLOBALS['activity_email'], '=?utf-8?Q?=C3=9Cbungszettel?= Moderation notwendig',
mail($GLOBALS['activity_mail'], '=?utf-8?Q?=C3=9Cbungszettel?= Moderation notwendig',
"Moderator-Information für http://" . $_SERVER['SERVER_NAME'] . $directory . PHP_EOL . PHP_EOL .
$text .
PHP_EOL . PHP_EOL . "Gruß," . PHP_EOL . "Dein Übungszettelservice",
Expand Down

0 comments on commit 66d56c8

Please sign in to comment.