On Sat, 9 Mar 2002, Peter Santiago wrote:

> code fragment reads
>  if ($res){
>        if ($config[sql_use_user_info_table] == 'true'){
>                 $res = @da_sql_query($config[sql_database], <- error.. this
> will return false
>                    "DELETE FROM $config[sql_user_info_table] WHERE UserName
> = '$login';");
>                         if ($res)
>                             echo "<b>User $login deleted
> successfully</b><br>\n";
>                          else
>                              echo "<b>Error deleting user $login from user
> info table</b><br>\n";
>                         }
>
> Isn't that line supposed to read
>
> $res = @da_sql_query($link,$config, "DELETE FROM
> $config[sql_user_info_table] WHERE UserName = '$login';");
>
> ???
>
>
> Peter
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>

Yes you 're right. Bug fixed in cvs

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]      National Technical University of Athens, Greece
Work Phone:             +30 10 7721861
'Go back to the shadow' Gandalf


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to