From: kkalev Date: Fri, 8 Feb 2002 14:55:41 +0000 (+0000) Subject: * Add support for the rest of the operators. Created the lib/operators.php3 file... X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=13e15ec1a9ab39a363bd12f59c8dfd26708b5a38;p=freeradius-dialup-admin.git * Add support for the rest of the operators. Created the lib/operators.php3 file containing helper functions --- diff --git a/Changelog b/Changelog index 9d0b751..afd005e 100644 --- a/Changelog +++ b/Changelog @@ -11,6 +11,7 @@ Ver 1.29: sql_use_operators configuration directive. Hope everything works. * Fixed a bug in sql/change_attrs which did not allow multi valued attributes in sql. * unset item_vals before adding info in ldap and sql user_info files. +* Add support for the rest of the operators. Created the lib/operators.php3 file containing helper functions Ver 1.28: * Make user_delete.php3 print something when a user is deleted * Cache nas hostname lookups in user_accounting diff --git a/htdocs/user_edit.php3 b/htdocs/user_edit.php3 index 765e2f9..bd8bf68 100644 --- a/htdocs/user_edit.php3 +++ b/htdocs/user_edit.php3 @@ -7,9 +7,7 @@ if (is_file("../lib/$config[general_lib_type]/user_info.php3")) if ($config[general_lib_type] == 'sql' && $config[sql_use_operators] == 'true'){ $colspan=2; $show_ops = 1; - $op_eq = '='; - $op_set = ':='; - $op_add = '+='; + include("../lib/operators.php3"); } else{ $show_ops = 0; @@ -132,6 +130,14 @@ EOM;