mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix param 'all'
This commit is contained in:
parent
03d8c6bfd6
commit
2d8ca513d6
|
|
@ -62,7 +62,7 @@ $user = new User($db);
|
|||
@set_time_limit(0);
|
||||
print "***** ".$script_file." (".$version.") pid=".dol_getmypid()." *****\n";
|
||||
|
||||
if (!in_array($type, array('thirdparties', 'contacts', 'users', 'members'))) {
|
||||
if (!in_array($type, array('all', 'thirdparties', 'contacts', 'users', 'members'))) {
|
||||
print "Bad value for parameter type.\n";
|
||||
exit(-1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user