bug 1010: changed sprintf to printf in db block
authorINOPIAE <inopiae@cacert.org>
Sun, 14 Jul 2013 07:20:13 +0000 (09:20 +0200)
committerINOPIAE <inopiae@cacert.org>
Sun, 14 Jul 2013 07:20:13 +0000 (09:20 +0200)
pages/account/18.php
pages/account/22.php

index df33db6..0854bb8 100644 (file)
@@ -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>
index a572773..2746055 100644 (file)
@@ -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>