Skip to content

Commit

Permalink
Please phpstan...
Browse files Browse the repository at this point in the history
  • Loading branch information
iouston committed Nov 16, 2024
1 parent 158d1fb commit 3c4d4cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/comm/action/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@

if ($idaction > 0) {
if (!$object->error) {
if (count($listofresourceid)) {
if (is_array($listofresourceid) && count($listofresourceid)) {
foreach ($listofresourceid as $resource_id => $val) {
$resource_type = 'dolresource';
$busy = 1;//GETPOSTINT('busy');
Expand Down

0 comments on commit 3c4d4cf

Please sign in to comment.