Fix arg to explode by forcing type of
This commit is contained in:
parent
c0e8e053b8
commit
fd9618c3c8
1 changed files with 3 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
/* Copyright (C) 2020-2024 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -187,6 +188,8 @@ if ($objecttype) {
|
|||
}
|
||||
}
|
||||
|
||||
'@phan-var-force CommonObject $object';
|
||||
|
||||
// Security check
|
||||
$socid = 0;
|
||||
if ($user->socid > 0) { // Protection if external user
|
||||
|
|
|
|||
Loading…
Reference in a new issue