* Don't include user_info.php3 in the user_test page.
* Make things a little bit more simple in lib/ldap/change_attrs.php3
* Fix a small bug in lib/ldap/create_user.php3. Unset the mod array before adding any values to it.
+* Fix a small problem with debugging
Ver 1.61:
* Add a string encoder for greek
* If general_decode_normal_attributes is set then encode attributes in lib/ldap/change_info. In the near future
function da_sql_fetch_array($result,$config)
{
+ $row = @mysql_fetch_array($result);
if ($config[sql_debug] == 'true'){
print "<b>DEBUG(SQL,MYSQL DRIVER): Query Result: ";
- print_r(@mysql_fetch_array($result));
+ print_r($row);
print "</b><br>\n";
}
- return @mysql_fetch_array($result);
+ return $row;
}
function da_sql_affected_rows($link,$result,$config)
function da_sql_fetch_array($result,$config)
{
- if ($config[sql_debug] == 'true'){
+ $row = @pg_fetch_array($result,$config[tmp_pg_array_num][$result]++,PGSQL_ASSOC);
+ if ($row && $config[sql_debug] == 'true'){
print "<b>DEBUG(SQL,PG DRIVER): Query Result: ";
- print_r(@pg_fetch_array($result,$config[tmp_pg_array_num][$result]++,PGSQL_ASSOC));
+ print_r($row);
print "</b><br>\n";
}
- $row = @pg_fetch_array($result,$config[tmp_pg_array_num][$result]++,PGSQL_ASSOC);
if (!$row)
$config[tmp_pg_array_num][$result] = 0;
return $row;