fix have_options arguments

This commit is contained in:
Evan Prodromou
2009-06-22 16:48:04 -07:00
parent 010d168aaa
commit 3fc2cfb7f8
8 changed files with 27 additions and 27 deletions

View File

@@ -35,8 +35,8 @@ require_once INSTALLDIR.'/scripts/commandline.inc';
$id = null;
if (have_option('-u')) {
$id = get_option_value('-u');
if (have_option('u')) {
$id = get_option_value('u');
} else if (have_option('--start-user-id')) {
$id = get_option_value('--start-user-id');
} else {