#367 typo in error check in 1.390: mysql-lib.pl

closed-fixed
5
2009-03-14
2009-03-14
No

Patch to fix it below.

--- mysql-lib.pl (revision 8099)
+++ mysql-lib.pl (working copy)
@@ -159,7 +159,7 @@
open(DBS, "\"$config{'mysqlshow'}\" $authstr |");
local $t = &parse_mysql_table(DBS);
close(DBS);
- ref($t) && &error("Failed to list databases : $t");
+ ref($t) || &error("Failed to list databases : $t");
@rv = map { $_->[0] } @{$t->{'data'}};
}
return @rv;

Discussion

  • Jamie Cameron

    Jamie Cameron - 2009-03-14
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2009-03-14

    Thanks - this will be fixed in the next Webmin and Usermin releases.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks