svn: /web/doc-editor/trunk/php/ File.php

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Thu, 21 Jul 2011 10:06:44 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=313512

Log:
fix anynmous check function

Changed paths:
    U   web/doc-editor/trunk/php/File.php

Modified: web/doc-editor/trunk/php/File.php
===================================================================
--- web/doc-editor/trunk/php/File.php	2011-07-21 10:06:18 UTC (rev 313511)
+++ web/doc-editor/trunk/php/File.php	2011-07-21 10:06:44 UTC (rev 313512)
@@ -331,7 +331,7 @@
             return false;
         } else {
             $a = $r->fetch_assoc();
-            $a['isAnonymous'] = $am->anonymous($a['user']);
+            $a['isAnonymous'] = $am->anonymous($a['user'], $a['anonymousIdent']);
             return json_encode($a);
         }
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.