1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 21:11:02 +02:00

fix sybase tests

This commit is contained in:
Antony Dovgal
2007-03-11 12:54:48 +00:00
parent 56820d57d3
commit f763bd82ba

View File

@@ -78,7 +78,8 @@
// {{{ mixed sybase_select_single(resource dbh, string query)
// Fires an SQL query and returns the first value from the first row
function sybase_select_single($dbh, $query) {
return array_shift(sybase_fetch_row(sybase_query($query, $dbh)));
$a = sybase_fetch_row(sybase_query($query, $dbh));
return array_shift($a);
}
// }}}
?>