summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-07-14 23:12:40 +0200
committerINOPIAE <inopiae@cacert.org>2013-07-14 23:12:40 +0200
commit470a24fe0553128b6d558f60d1de2b11dab9182b (patch)
treea26a2e61914f378c6f7a5a4c4ed4a7cf6b99e96b /pages
parent59117bddf6b856ff0107516c5755e1edbd003cbe (diff)
downloadcacert-devel-470a24fe0553128b6d558f60d1de2b11dab9182b.tar.gz
cacert-devel-470a24fe0553128b6d558f60d1de2b11dab9182b.tar.xz
cacert-devel-470a24fe0553128b6d558f60d1de2b11dab9182b.zip
bug 1010: Fixed variable names
Diffstat (limited to 'pages')
-rw-r--r--pages/account/18.php2
-rw-r--r--pages/account/22.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/pages/account/18.php b/pages/account/18.php
index e1b92a5..8196506 100644
--- a/pages/account/18.php
+++ b/pages/account/18.php
@@ -39,7 +39,7 @@ $status = array_key_exists('status',$_SESSION['_config']) ? intval($_SESSION['_c
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']);
}
}?>
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)