]> git.entuzijast.net Git - freeradius-dialup-admin.git/commitdiff
Fix Bug #167
authorkkalev <kkalev>
Fri, 3 Dec 2004 16:13:42 +0000 (16:13 +0000)
committerkkalev <kkalev>
Fri, 3 Dec 2004 16:13:42 +0000 (16:13 +0000)
Changelog
bin/monthly_tot_stats
bin/tot_stats

index 9945682eac1d2cfc0d1e93f6875ba937e9fdd2ee..782a73a7687249d4961dfaf214341ada61854fd9 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -36,6 +36,7 @@ Ver 1.75:
 * In the show groups page, note that we only show groups with members
 * In lib/sql/group_info.php3 only unset variables if we need to. In lib/sql/defaults.php3 don't run for groups
   only for users
+* Fix Bug #167
 Ver 1.72:
 * Move the xlat function to a separate file in lib/xlat.php3
 * Add a lib/sql/nas_list.php3 to also get the nas list from sql (naslist.conf still works)
index 6d1ced629105b007a435cc93f5b8545e90595085..015ea50a9f4301ad419894928b87a8e51996dcd6 100755 (executable)
@@ -29,7 +29,7 @@ close CONF;
 die "sql_command directive is not set in admin.conf\n" if ($sqlcmd eq '');
 die "Could not find sql binary. Please make sure that the \$sqlcmd variable points to the right location\n" if (! -x $sqlcmd);
 
-$sql_password = ($sql_password == '') ? '' : "-p$sql_password";
+$sql_password = ($sql_password eq '') ? '' : "-p$sql_password";
 $sql_password =~ s/(\W)/\\$1/g;
 
 ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime;
index 82c53de0a269618e494ac26adbf0ba9f4713983b..904d89e091d8437e93094cffacc8bb4ad53fd569 100755 (executable)
@@ -28,7 +28,7 @@ close CONF;
 die "sql_command directive is not set in admin.conf\n" if ($sqlcmd eq '');
 die "Could not find sql binary. Please make sure that the \$sqlcmd variable points to the right location\n" if (! -x $sqlcmd);
 
-$sql_password = ($sql_password == '') ? '' : "-p$sql_password";
+$sql_password = ($sql_password eq '') ? '' : "-p$sql_password";
 $sql_password =~ s/(\W)/\\$1/g;
 
 ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime;