mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Bugfix
This commit is contained in:
parent
10b38112c9
commit
e0e4bf3a77
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user