mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-14 08:54:21 +01:00
test include return on TRUE
This commit is contained in:
@@ -3733,7 +3733,7 @@ abstract class CommonObject
|
||||
} else {
|
||||
$res=include $tpl; // for debug
|
||||
}
|
||||
if ($res > 0) break;
|
||||
if ($res === TRUE) break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3994,7 +3994,7 @@ abstract class CommonObject
|
||||
} else {
|
||||
$res=include $tpl; // for debug
|
||||
}
|
||||
if ($res > 0) break;
|
||||
if ($res === TRUE) break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4026,7 +4026,7 @@ abstract class CommonObject
|
||||
} else {
|
||||
$res=include $tpl; // for debug
|
||||
}
|
||||
if ($res > 0) break;
|
||||
if ($res === TRUE) break;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4231,7 +4231,7 @@ abstract class CommonObject
|
||||
} else {
|
||||
$res=include $tpl; // for debug
|
||||
}
|
||||
if ($res > 0) break;
|
||||
if ($res === TRUE) break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user