diff options
author | INOPIAE <inopiae@cacert.org> | 2013-07-14 09:20:13 +0200 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2013-07-14 09:20:13 +0200 |
commit | 956ade74a777b49a5acf68aee9b893224f7ccbaf (patch) | |
tree | 57e0e944e09c6f4c6b57b6318a883d8f3119de3d /pages/account | |
parent | 080d7a1fd282b6d5fbcb37980ca6ada112bf67d7 (diff) | |
download | cacert-devel-956ade74a777b49a5acf68aee9b893224f7ccbaf.tar.gz cacert-devel-956ade74a777b49a5acf68aee9b893224f7ccbaf.tar.xz cacert-devel-956ade74a777b49a5acf68aee9b893224f7ccbaf.zip |
bug 1010: changed sprintf to printf in db block
Diffstat (limited to 'pages/account')
-rw-r--r-- | pages/account/18.php | 2 | ||||
-rw-r--r-- | pages/account/22.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pages/account/18.php b/pages/account/18.php index df33db6..0854bb8 100644 --- a/pages/account/18.php +++ b/pages/account/18.php @@ -40,7 +40,7 @@ $status = array_key_exists('status',$_SESSION['_config']) ? intval($_SESSION['_c $reso = mysql_query($query); if(mysql_num_rows($reso) >= 1){ while($row = mysql_fetch_assoc($res)){ - sprintf("<option value='%d' %s>%s</option>",$row['id'], $row['id'] == $orgfilterid? " selected" : "" , $row['O']); + printf("<option value='%d' %s>%s</option>",$row['id'], $row['id'] == $orgfilterid? " selected" : "" , $row['O']); } }?> </select> diff --git a/pages/account/22.php b/pages/account/22.php index a572773..2746055 100644 --- a/pages/account/22.php +++ b/pages/account/22.php @@ -39,7 +39,7 @@ $status = array_key_exists('dstatus',$_SESSION['_config']) ? intval($_SESSION['_ $reso = mysql_query($query); if(mysql_num_rows($reso) >= 1){ while($row = mysql_fetch_assoc($res)){ - sprintf("<option value='%d' %s>%s</option>",$row['id'], $row['id'] == $orgfilterid? " selected" : "" , $row['O']); + printf("<option value='%d' %s>%s</option>",$row['id'], $row['id'] == $orgfilterid? " selected" : "" , $row['O']); } }?> </select> |