Fix param 'all'
This commit is contained in:
parent
03d8c6bfd6
commit
2d8ca513d6
@ -62,7 +62,7 @@ $user = new User($db);
|
|||||||
@set_time_limit(0);
|
@set_time_limit(0);
|
||||||
print "***** ".$script_file." (".$version.") pid=".dol_getmypid()." *****\n";
|
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";
|
print "Bad value for parameter type.\n";
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user