mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-02 22:33:36 +01:00
Bugfix
This commit is contained in:
@@ -23,13 +23,13 @@
|
||||
|
||||
require ("../../master.inc.php");
|
||||
|
||||
$opt = getopt("file:");
|
||||
$opt = getopt("f:");
|
||||
|
||||
$file = $opt[file];
|
||||
$file = $opt['f'];
|
||||
|
||||
if (strlen($file) == 0)
|
||||
{
|
||||
print "Usage :\n php import-cdr.php --file FILENAME\n";
|
||||
print "Usage :\n php import-cdr.php -f FILENAME\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user