Fix variable usage.
authorJan Schneider <jan@horde.org>
Sun, 19 Apr 2009 09:35:55 +0000 (11:35 +0200)
committerJan Schneider <jan@horde.org>
Sun, 19 Apr 2009 09:35:55 +0000 (11:35 +0200)
framework/Imap_Client/test/Horde/Imap/test_client.php

index 0783573..424ff3a 100644 (file)
@@ -71,7 +71,7 @@ if (empty($params['username'])) {
 if (empty($params['password'])) {
     $params['password'] = $argv[2];
 }
-if (empty($argv[2])) {
+if (empty($params['password'])) {
     exit("Need password. Exiting.\n");
 }