From: Pierre Habouzit (MadCoder Date: Tue, 15 Feb 2005 22:53:08 +0000 (+0000) Subject: missing GPL header X-Git-Tag: xorg/old~289 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=dd902dbf0e5e4285c1015c870c78f9b4151eeaea;p=platal.git missing GPL header git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-471 --- diff --git a/htdocs/banana/profile.php b/htdocs/banana/profile.php index 61996f4..f90617e 100644 --- a/htdocs/banana/profile.php +++ b/htdocs/banana/profile.php @@ -26,15 +26,15 @@ if (!(Post::has('action') && Post::has('banananame') && Post::has('bananasig') & && Post::has('bananamail') && Post::has('bananaupdate') && Post::get('action')=="OK" )) { $req = $globals->xdb->query(" - SELECT nom,mail,sig,if(FIND_IN_SET('threads',flags),'1','0'), - IF(FIND_IN_SET('automaj',flags),'1','0') - FROM forums.profils - WHERE uid = {?}", Session::getInt('uid')); + SELECT nom,mail,sig,if(FIND_IN_SET('threads',flags),'1','0'), + IF(FIND_IN_SET('automaj',flags),'1','0') + FROM forums.profils + WHERE uid = {?}", Session::getInt('uid')); if (!(list($nom,$mail,$sig,$disp,$maj) = $req->fetchOneRow())) { - $nom = Session::get('prenom').' '.Session::get('nom'); - $mail = Session::get('forlife').'@'.$globals->mail->domain; - $sig = $nom.' ('.Session::getInt('promo').')'; - $disp = 0; + $nom = Session::get('prenom').' '.Session::get('nom'); + $mail = Session::get('forlife').'@'.$globals->mail->domain; + $sig = $nom.' ('.Session::getInt('promo').')'; + $disp = 0; $maj = 0; } $page->assign('nom' , $nom); diff --git a/include/banana.inc.php b/include/banana.inc.php index ec13f1a..30b8077 100644 --- a/include/banana.inc.php +++ b/include/banana.inc.php @@ -1,4 +1,24 @@