[geeklog-hg] geeklog: Fixed missing topic from story submission notification ...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Wed Sep 11 21:23:54 EDT 2013
changeset 9291:053920dc96c9
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/053920dc96c9
user: Tom <websitemaster at cogeco.net>
date: Wed Sep 11 21:23:03 2013 -0400
description:
Fixed missing topic from story submission notification email (bug #0001681)
diffstat:
public_html/submit.php | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (13 lines):
diff -r 4260be84d218 -r 053920dc96c9 public_html/submit.php
--- a/public_html/submit.php Wed Sep 11 01:14:18 2013 +0900
+++ b/public_html/submit.php Wed Sep 11 21:23:03 2013 -0400
@@ -233,8 +233,7 @@
$introtext = str_replace('<br' . XHTML . '>', "\n", $introtext);
}
$storyauthor = COM_getDisplayName( $story->displayelements('uid') );
- $topic = stripslashes(DB_getItem ($_TABLES['topics'], 'topic',
- 'tid = \''.$story->displayElements('tid').'\''));
+ $topic = TOPIC_getTopicAdminColumn('article', $story->getSid());
$mailbody = "$LANG08[31]: {$title}\n"
. "$LANG24[7]: {$storyauthor}\n"
. "$LANG08[32]: " . strftime ($_CONF['date']) . "\n"
More information about the geeklog-cvs
mailing list