mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Standardize code
This commit is contained in:
parent
ec71a3efa3
commit
df8fff843c
|
|
@ -745,7 +745,7 @@ IMG;
|
|||
private function _rrmdir($dir)
|
||||
{
|
||||
if ($handle = opendir($dir)) {
|
||||
while (false !== ($file = readdir($handle))) {
|
||||
while (($file = readdir($handle))!==false) {
|
||||
if ($file != '.' && $file != '..') {
|
||||
if (is_dir($dir . '/' . $file)) {
|
||||
$this->_rrmdir($dir . '/' . $file);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user