From 91cf1bdb0dde96ea89f4e5f707fa2801871d7578 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Fri, 15 Apr 2011 17:03:17 +0200 Subject: [PATCH] Uncomment posting into forums from xnet announces. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/xnetgrp.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/xnetgrp.php b/modules/xnetgrp.php index 25871a8..fcff1ba 100644 --- a/modules/xnetgrp.php +++ b/modules/xnetgrp.php @@ -1253,13 +1253,13 @@ class XnetGrpModule extends PLModule if (!empty($art['contact_html'])) { $fulltext .= "\n\n'''Contacts :'''\\\\\n" . $art['contact_html']; } - $post = null;/* + $post = null; if ($globals->asso('forum')) { require_once 'banana/forum.inc.php'; $banana = new ForumsBanana(S::user()); $post = $banana->post($globals->asso('forum'), null, $art['titre'], MiniWiki::wikiToText($fulltext, false, 0, 80)); - }*/ + } XDB::query('INSERT INTO group_announces (uid, asso_id, create_date, titre, texte, contacts, expiration, promo_min, promo_max, flags, post_id) VALUES ({?}, {?}, NOW(), {?}, {?}, {?}, {?}, {?}, {?}, {?}, {?})', -- 2.1.4