summaryrefslogtreecommitdiff
path: root/pages/account/22.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/account/22.php')
-rw-r--r--pages/account/22.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/account/22.php b/pages/account/22.php
index 581e19a..50f2b81 100644
--- a/pages/account/22.php
+++ b/pages/account/22.php
@@ -38,7 +38,7 @@ $status = array_key_exists('dstatus',$_SESSION['_config']) ? intval($_SESSION['_
ORDER BY `orginfo`.`O` ";
$reso = mysql_query($query);
if(mysql_num_rows($reso) >= 1){
- while($row = mysql_fetch_assoc($res)){
+ while($row = mysql_fetch_assoc($reso)){
printf("<option value='%d' %s>%s</option>",$row['id'], $row['id'] == $orgfilterid? " selected" : "" , $row['O']);
}
}?>
@@ -86,7 +86,7 @@ $status = array_key_exists('dstatus',$_SESSION['_config']) ? intval($_SESSION['_
if($orgfilterid>0)
{
- $query .= "AND `org`.`orgid`=$dorgfilterid ";
+ $query .= "AND `org`.`orgid`=$orgfilterid ";
}
if(0==$status)