remove useless ()
This commit is contained in:
parent
80f73854c7
commit
161fc94496
|
@ -186,7 +186,7 @@ function dbFetchAll( $sql, $col=false, $params=NULL ) {
|
||||||
$dbRows = array();
|
$dbRows = array();
|
||||||
while( $dbRow = $result->fetch( PDO::FETCH_ASSOC ) )
|
while( $dbRow = $result->fetch( PDO::FETCH_ASSOC ) )
|
||||||
$dbRows[] = $col?$dbRow[$col]:$dbRow;
|
$dbRows[] = $col?$dbRow[$col]:$dbRow;
|
||||||
return( $dbRows );
|
return $dbRows;
|
||||||
}
|
}
|
||||||
|
|
||||||
function dbFetchAssoc( $sql, $indexCol, $dataCol=false ) {
|
function dbFetchAssoc( $sql, $indexCol, $dataCol=false ) {
|
||||||
|
|
Loading…
Reference in New Issue