aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-02-14 23:16:54 +0000
committerrub <rub@piwigo.org>2007-02-14 23:16:54 +0000
commitb39e05fd5a1c9ea95aab7ee35902dfbc5c3d924a (patch)
tree27f80a1bc8214531e7bf2916f3edbaa506117aa0 /include
parentbb7899060119334c8a6feb2eaa63f6276f2da306 (diff)
Stupid modification on picture_comment.inc.php about validate link!
git-svn-id: http://piwigo.org/svn/trunk@1819 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/picture_comment.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/picture_comment.inc.php b/include/picture_comment.inc.php
index eb99f9f64..0c3e3a6a2 100644
--- a/include/picture_comment.inc.php
+++ b/include/picture_comment.inc.php
@@ -209,7 +209,6 @@ if ( $page['show_comments'] and isset( $_POST['content'] ) )
{
include_once(PHPWG_ROOT_PATH.'include/functions_mail.inc.php');
- $val_url = get_absolute_root_url().'comments.php?validate='.$comm['id'];
$del_url = get_absolute_root_url().'comments.php?delete='.$comm['id'];
$content =
@@ -217,14 +216,15 @@ if ( $page['show_comments'] and isset( $_POST['content'] ) )
.'Comment: '.$comm['content']."\n"
.'IP: '.$comm['ip']."\n"
.'Browser: '.$comm['agent']."\n\n"
- .'Validate: '.$val_url."\n"
.'Delete: '.$del_url."\n";
+
if ($comment_action!='validate')
{
$content .=
'Validate: '.get_absolute_root_url()
.'comments.php?validate='.$comm['id'];
}
+
pwg_mail
(
format_email('administrators', get_webmaster_mail_address()),