Fix warning
This commit is contained in:
parent
f85487b758
commit
1d355561e9
@ -387,7 +387,7 @@ class AccountancyExport
|
|||||||
$outputDir .= '/'.dol_sanitizePathName($formatexportset);
|
$outputDir .= '/'.dol_sanitizePathName($formatexportset);
|
||||||
if (!dol_is_dir($outputDir)) {
|
if (!dol_is_dir($outputDir)) {
|
||||||
if (dol_mkdir($outputDir) < 0) {
|
if (dol_mkdir($outputDir) < 0) {
|
||||||
$this->errors[] = $langs->trans('ErrorCanNotCreateDir', $outputDir);;
|
$this->errors[] = $langs->trans('ErrorCanNotCreateDir', $outputDir);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -396,7 +396,7 @@ class AccountancyExport
|
|||||||
if ($outputDir != '') {
|
if ($outputDir != '') {
|
||||||
if (!dol_is_dir($outputDir)) {
|
if (!dol_is_dir($outputDir)) {
|
||||||
$langs->load('errors');
|
$langs->load('errors');
|
||||||
$this->errors[] = $langs->trans('ErrorDirNotFound', $outputDir);;
|
$this->errors[] = $langs->trans('ErrorDirNotFound', $outputDir);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -2959,7 +2959,7 @@ class Form
|
|||||||
*
|
*
|
||||||
* @param object $objp Resultset of fetch
|
* @param object $objp Resultset of fetch
|
||||||
* @param string $opt Option (var used for returned value in string option format)
|
* @param string $opt Option (var used for returned value in string option format)
|
||||||
* @param string $optJson Option (var used for returned value in json format)
|
* @param array $optJson Option (var used for returned value in json format)
|
||||||
* @param int $price_level Price level
|
* @param int $price_level Price level
|
||||||
* @param string $selected Preselected value
|
* @param string $selected Preselected value
|
||||||
* @param int $hidepriceinlabel Hide price in label
|
* @param int $hidepriceinlabel Hide price in label
|
||||||
@ -7389,7 +7389,7 @@ class Form
|
|||||||
*
|
*
|
||||||
* @param object $objp Result set of fetch
|
* @param object $objp Result set of fetch
|
||||||
* @param string $opt Option (var used for returned value in string option format)
|
* @param string $opt Option (var used for returned value in string option format)
|
||||||
* @param string $optJson Option (var used for returned value in json format)
|
* @param array $optJson Option (var used for returned value in json format)
|
||||||
* @param string $selected Preselected value
|
* @param string $selected Preselected value
|
||||||
* @param string $filterkey Filter key to highlight
|
* @param string $filterkey Filter key to highlight
|
||||||
* @return void
|
* @return void
|
||||||
@ -7595,7 +7595,7 @@ class Form
|
|||||||
*
|
*
|
||||||
* @param object $objp Result set of fetch
|
* @param object $objp Result set of fetch
|
||||||
* @param string $opt Option (var used for returned value in string option format)
|
* @param string $opt Option (var used for returned value in string option format)
|
||||||
* @param string $optJson Option (var used for returned value in json format)
|
* @param array $optJson Option (var used for returned value in json format)
|
||||||
* @param string $selected Preselected value
|
* @param string $selected Preselected value
|
||||||
* @param string $filterkey Filter key to highlight
|
* @param string $filterkey Filter key to highlight
|
||||||
* @return void
|
* @return void
|
||||||
@ -7815,7 +7815,7 @@ class Form
|
|||||||
*
|
*
|
||||||
* @param object $objp Result set of fetch
|
* @param object $objp Result set of fetch
|
||||||
* @param string $opt Option (var used for returned value in string option format)
|
* @param string $opt Option (var used for returned value in string option format)
|
||||||
* @param string $optJson Option (var used for returned value in json format)
|
* @param array $optJson Option (var used for returned value in json format)
|
||||||
* @param string $selected Preselected value
|
* @param string $selected Preselected value
|
||||||
* @param string $filterkey Filter key to highlight
|
* @param string $filterkey Filter key to highlight
|
||||||
* @return void
|
* @return void
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user