bug 1008: fixed query output from $res to $res1 bug-1008
authorINOPIAE <inopiae@cacert.org>
Tue, 11 Jun 2013 22:39:19 +0000 (00:39 +0200)
committerINOPIAE <inopiae@cacert.org>
Tue, 11 Jun 2013 22:39:19 +0000 (00:39 +0200)
pages/account/58.php

index fd035a3..1f6b1a0 100644 (file)
@@ -45,7 +45,7 @@ if ($_SESSION['profile']['admin'] != 1 || !array_key_exists('userid',$_REQUEST)
                                        <td class="DataTD"><b><?=_('Organisation')?></b></td>
                                        <td class="DataTD"><b><?=_('Masteraccount')?></b></td>
                                </tr><?
-                               while($drow = mysql_fetch_assoc($res)){?>
+                               while($drow = mysql_fetch_assoc($res1)){?>
                                        <tr>
                                                <td class="DataTD"><?=$drow['o']?></td>
                                                <td class="DataTD"><?=$drow['masteracc'] ? _("Yes") : _("No") ?></td>