Skip to content

Commit

Permalink
Merge pull request #12267 from ATM-Marc/FIX_8.0_trigger_closedir
Browse files Browse the repository at this point in the history
FIX: triggers: directories read with opendir() never closed
  • Loading branch information
eldy committed Nov 2, 2019
2 parents c2638f4 + 85cef09 commit 2b7a813
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions htdocs/core/class/interfaces.class.php
Expand Up @@ -151,6 +151,8 @@ function run_triggers($action,$object,$user,$langs,$conf)
$i++;
}
}

closedir($handle);
}
}

Expand Down

0 comments on commit 2b7a813

Please sign in to comment.