Rah
authorThomas Deniau <thomas@Palurien.eleves.polytechnique.fr>
Tue, 18 Mar 2008 13:53:54 +0000 (14:53 +0100)
committerThomas Deniau <thomas@Palurien.eleves.polytechnique.fr>
Tue, 18 Mar 2008 13:53:54 +0000 (14:53 +0100)
modules/banana.php

index 017aed0..c6cfd9a 100644 (file)
@@ -177,7 +177,7 @@ class BananaModule extends PLModule
                              INNER JOIN  x4dat.aliases       AS b ON ( b.id = a.id AND b.type != 'homonyme' )
                              WHERE  b.alias = '".addslashes(Env::v('forlife'))."'");
           $ban = $res->fetchOneAssoc();
-          echo $res['priority']."\n".$res['read_perm']."\n".$res['write_perm']."\n".$res['comment']."\n";
+          echo $ban['priority']."\n".$ban['read_perm']."\n".$ban['write_perm']."\n".$ban['comment']."\n";
         }
         exit();
     }