@@ -437,7 +437,6 @@ discard block |
||
| 437 | 437 | * Load object lines in memory from the database by type of product |
| 438 | 438 | * |
| 439 | 439 | * @param int $typeproduct 0 type product, 1 type service |
| 440 | - |
|
| 441 | 440 | * @return int Return integer <0 if KO, 0 if not found, >0 if OK |
| 442 | 441 | */ |
| 443 | 442 | public function fetchLinesbytypeproduct($typeproduct = 0) |
@@ -1206,7 +1205,7 @@ discard block |
||
| 1206 | 1205 | return $this->LibStatut($this->status, $mode); |
| 1207 | 1206 | } |
| 1208 | 1207 | |
| 1209 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 1208 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 1210 | 1209 | /** |
| 1211 | 1210 | * Return the status |
| 1212 | 1211 | * |
@@ -1216,7 +1215,7 @@ discard block |
||
| 1216 | 1215 | */ |
| 1217 | 1216 | public function LibStatut($status, $mode = 0) |
| 1218 | 1217 | { |
| 1219 | - // phpcs:enable |
|
| 1218 | + // phpcs:enable |
|
| 1220 | 1219 | if (empty($this->labelStatus)) { |
| 1221 | 1220 | global $langs; |
| 1222 | 1221 | //$langs->load("mrp"); |
@@ -1325,7 +1324,7 @@ discard block |
||
| 1325 | 1324 | } |
| 1326 | 1325 | } |
| 1327 | 1326 | |
| 1328 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 1327 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 1329 | 1328 | /** |
| 1330 | 1329 | * Return if at least one photo is available |
| 1331 | 1330 | * |
@@ -1334,7 +1333,7 @@ discard block |
||
| 1334 | 1333 | */ |
| 1335 | 1334 | public function is_photo_available($sdir) |
| 1336 | 1335 | { |
| 1337 | - // phpcs:enable |
|
| 1336 | + // phpcs:enable |
|
| 1338 | 1337 | include_once DOL_DOCUMENT_ROOT . '/core/lib/files.lib.php'; |
| 1339 | 1338 | include_once DOL_DOCUMENT_ROOT . '/core/lib/images.lib.php'; |
| 1340 | 1339 | |