@@ -201,7 +201,7 @@ |
||
201 | 201 | $thirdpartystatic->email = $objp->email; |
202 | 202 | $thirdpartystatic->country_code = $objp->country_code; |
203 | 203 | $thirdpartystatic->tva_intra = $objp->tva_intra; |
204 | - $thirdpartystatic->code_compta_product = $objp->company_code_buy; // The accounting account for product stored on thirdparty object (for level3 suggestion) |
|
204 | + $thirdpartystatic->code_compta_product = $objp->company_code_buy; // The accounting account for product stored on thirdparty object (for level3 suggestion) |
|
205 | 205 | |
206 | 206 | $product_static->ref = $objp->product_ref; |
207 | 207 | $product_static->id = $objp->product_id; |
@@ -235,10 +235,10 @@ |
||
235 | 235 | $id = $ecmdirtmp->create($user); |
236 | 236 | if ($id > 0) { |
237 | 237 | $newdirsql = array('id' => $id, |
238 | - 'id_mere' => $ecmdirtmp->fk_parent, |
|
239 | - 'label' => $ecmdirtmp->label, |
|
240 | - 'description' => $ecmdirtmp->description, |
|
241 | - 'fullrelativename' => $relativepathmissing); |
|
238 | + 'id_mere' => $ecmdirtmp->fk_parent, |
|
239 | + 'label' => $ecmdirtmp->label, |
|
240 | + 'description' => $ecmdirtmp->description, |
|
241 | + 'fullrelativename' => $relativepathmissing); |
|
242 | 242 | $sqltree[] = $newdirsql; // We complete fulltree for following loops |
243 | 243 | //var_dump($sqltree); |
244 | 244 | $adirwascreated = 1; |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | if (empty($action) && $file_manager) { |
54 | 54 | $action = 'file_manager'; |
55 | 55 | } |
56 | -$pageid = GETPOSTINT('pageid'); |
|
56 | +$pageid = GETPOSTINT('pageid'); |
|
57 | 57 | |
58 | 58 | $limit = GETPOSTINT('limit') ? GETPOSTINT('limit') : $conf->liste_limit; |
59 | 59 | $sortfield = GETPOST('sortfield', 'aZ09comma'); |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | if ($sortorder) { |
120 | 120 | $backtopage .= '&sortorder=' . urlencode($sortorder); |
121 | 121 | } |
122 | -include DOL_DOCUMENT_ROOT . '/core/actions_linkedfiles.inc.php'; // This manage 'sendit', 'confirm_deletefile', 'renamefile' action when submitting new file. |
|
122 | +include DOL_DOCUMENT_ROOT . '/core/actions_linkedfiles.inc.php'; // This manage 'sendit', 'confirm_deletefile', 'renamefile' action when submitting new file. |
|
123 | 123 | |
124 | 124 | $backtopage = $savbacktopage; |
125 | 125 |
@@ -235,10 +235,10 @@ |
||
235 | 235 | $id = $ecmdirtmp->create($user); |
236 | 236 | if ($id > 0) { |
237 | 237 | $newdirsql = array('id' => $id, |
238 | - 'id_mere' => $ecmdirtmp->fk_parent, |
|
239 | - 'label' => $ecmdirtmp->label, |
|
240 | - 'description' => $ecmdirtmp->description, |
|
241 | - 'fullrelativename' => $relativepathmissing); |
|
238 | + 'id_mere' => $ecmdirtmp->fk_parent, |
|
239 | + 'label' => $ecmdirtmp->label, |
|
240 | + 'description' => $ecmdirtmp->description, |
|
241 | + 'fullrelativename' => $relativepathmissing); |
|
242 | 242 | $sqltree[] = $newdirsql; // We complete fulltree for following loops |
243 | 243 | //var_dump($sqltree); |
244 | 244 | $adirwascreated = 1; |
@@ -235,10 +235,10 @@ |
||
235 | 235 | $id = $ecmdirtmp->create($user); |
236 | 236 | if ($id > 0) { |
237 | 237 | $newdirsql = array('id' => $id, |
238 | - 'id_mere' => $ecmdirtmp->fk_parent, |
|
239 | - 'label' => $ecmdirtmp->label, |
|
240 | - 'description' => $ecmdirtmp->description, |
|
241 | - 'fullrelativename' => $relativepathmissing); |
|
238 | + 'id_mere' => $ecmdirtmp->fk_parent, |
|
239 | + 'label' => $ecmdirtmp->label, |
|
240 | + 'description' => $ecmdirtmp->description, |
|
241 | + 'fullrelativename' => $relativepathmissing); |
|
242 | 242 | $sqltree[] = $newdirsql; // We complete fulltree for following loops |
243 | 243 | //var_dump($sqltree); |
244 | 244 | $adirwascreated = 1; |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * \brief Main page for ECM section area |
25 | 25 | */ |
26 | 26 | |
27 | -if (! defined('DISABLE_JS_GRAHP')) { |
|
27 | +if (!defined('DISABLE_JS_GRAHP')) { |
|
28 | 28 | define('DISABLE_JS_GRAPH', 1); |
29 | 29 | } |
30 | 30 |
@@ -1140,7 +1140,7 @@ |
||
1140 | 1140 | print '<input type="hidden" name="action" value="addintocategory">'; |
1141 | 1141 | print '<table class="noborder centpercent">'; |
1142 | 1142 | print '<tr class="liste_titre"><td>'; |
1143 | - $force_entity = getEntity($object->element); // So we will get same filter than the getObjectsInCateg() |
|
1143 | + $force_entity = getEntity($object->element); // So we will get same filter than the getObjectsInCateg() |
|
1144 | 1144 | print img_picto('', $type, 'class="pictofixedwidth"'); |
1145 | 1145 | print $form->select_dolusers('', 'elemid', 1, null, 0, '', '', $force_entity); |
1146 | 1146 | print '<input type="submit" class="button buttongen" value="' . $langs->trans("ClassifyInCategory") . '"></td>'; |
@@ -69,7 +69,7 @@ |
||
69 | 69 | /* |
70 | 70 | * Actions |
71 | 71 | */ |
72 | -$parameters = array('id' => $id, 'label' => $label, 'confirm' => $confirm, 'type' => $type, 'uploaddir' => $upload_dir, 'sendfile' => (GETPOST("sendit") ? true : false)); |
|
72 | +$parameters = array('id' => $id, 'label' => $label, 'confirm' => $confirm, 'type' => $type, 'uploaddir' => $upload_dir, 'sendfile' => (GETPOST("sendit") ? true : false)); |
|
73 | 73 | // Note that $action and $object may be modified by some hooks |
74 | 74 | $reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action); |
75 | 75 | if ($reshook < 0) { |
@@ -59,7 +59,7 @@ |
||
59 | 59 | |
60 | 60 | $type = $object->type; |
61 | 61 | if (is_numeric($type)) { |
62 | - $type = Categorie::$MAP_ID_TO_CODE[$type]; // For backward compatibility |
|
62 | + $type = Categorie::$MAP_ID_TO_CODE[$type]; // For backward compatibility |
|
63 | 63 | } |
64 | 64 | |
65 | 65 |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | */ |
119 | 119 | function getAttachments($jk, $mbox) |
120 | 120 | { |
121 | - $structure = imap_fetchstructure($mbox, $jk, FT_UID); // @phan-suppress-current-line PhanTypeMismatchArgumentInternal |
|
121 | + $structure = imap_fetchstructure($mbox, $jk, FT_UID); // @phan-suppress-current-line PhanTypeMismatchArgumentInternal |
|
122 | 122 | $parts = getParts($structure); |
123 | 123 | |
124 | 124 | $fpos = 2; |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | */ |
156 | 156 | function getFileData($jk, $fpos, $type, $mbox) |
157 | 157 | { |
158 | - $merge = imap_fetchbody($mbox, $jk, $fpos, FT_UID); // @phan-suppress-current-line PhanTypeMismatchArgumentInternal |
|
158 | + $merge = imap_fetchbody($mbox, $jk, $fpos, FT_UID); // @phan-suppress-current-line PhanTypeMismatchArgumentInternal |
|
159 | 159 | $data = getDecodeValue($merge, $type); |
160 | 160 | |
161 | 161 | return $data; |