Fixed some small bugs

This commit is contained in:
Jakob Sack 2011-04-08 17:36:12 +02:00
parent f66d3ab208
commit 7c8ae42c6f
2 changed files with 5 additions and 5 deletions

View File

@ -51,7 +51,7 @@ class OC_APPCONFIG{
$result = $query->execute();
$apps = array();
while( $result->fetchRow()){
while( $row = $result->fetchRow()){
$apps[] = $row["appid"];
}
@ -72,7 +72,7 @@ class OC_APPCONFIG{
$result = $query->execute( $app );
$keys = array();
while( $result->fetchRow()){
while( $row = $result->fetchRow()){
$keys[] = $row["key"];
}

View File

@ -51,7 +51,7 @@ class OC_PREFERENCES{
$result = $query->execute();
$users = array();
while( $result->fetchRow()){
while( $row = $result->fetchRow()){
$users[] = $row["userid"];
}
@ -72,7 +72,7 @@ class OC_PREFERENCES{
$result = $query->execute( $user );
$apps = array();
while( $result->fetchRow()){
while( $row = $result->fetchRow()){
$apps[] = $row["appid"];
}
@ -94,7 +94,7 @@ class OC_PREFERENCES{
$result = $query->execute( $user, $app );
$keys = array();
while( $result->fetchRow()){
while( $row = $result->fetchRow()){
$keys[] = $row["key"];
}