diff --git a/dev/tools/test/namespacemig/main.inc.php b/dev/tools/test/namespacemig/main.inc.php
index 555a4b36ff5..d46d8e38c1c 100644
--- a/dev/tools/test/namespacemig/main.inc.php
+++ b/dev/tools/test/namespacemig/main.inc.php
@@ -1,7 +1,7 @@
begin();
// Introduce a protection. Total of tabtp must be total of tabbq
- /*var_dump($tabpay);
- var_dump($tabtp);
- var_dump($tabbq);exit;*/
+ //var_dump($tabpay);
+ //var_dump($tabtp);
+ //var_dump($tabbq);exit;
// Bank
if (!$errorforline && is_array($tabbq[$key])) {
@@ -1267,9 +1267,9 @@ if (empty($action) || $action == 'view') {
$accounttoshowsubledger = length_accounta($k);
if ($accounttoshow != $accounttoshowsubledger) {
if (empty($accounttoshowsubledger) || $accounttoshowsubledger == 'NotDefined') {
- /*var_dump($tabpay[$key]);
- var_dump($tabtype[$key]);
- var_dump($tabbq[$key]);*/
+ //var_dump($tabpay[$key]);
+ //var_dump($tabtype[$key]);
+ //var_dump($tabbq[$key]);
//print ''.$langs->trans("ThirdpartyAccountNotDefined").'';
if (!empty($tabcompany[$key]['code_compta'])) {
if (in_array($tabtype[$key], array('payment_various', 'payment_salary'))) {
diff --git a/htdocs/admin/holiday.php b/htdocs/admin/holiday.php
index c1755b17edf..7b0aa577a87 100644
--- a/htdocs/admin/holiday.php
+++ b/htdocs/admin/holiday.php
@@ -442,23 +442,23 @@ print '
| '.($prefix ? $prefix.' > ' : '').$key.' | ';
$s .= '';
if (in_array($key, array('date', 'datef', 'dateh', 'datec', 'datem', 'datep'))) {
- /*var_dump(is_object($val));
- var_dump(is_array($val));
- var_dump(is_array($val));
- var_dump(@get_class($val));
- var_dump($val);*/
+ //var_dump(is_object($val));
+ //var_dump(is_array($val));
+ //var_dump(is_array($val));
+ //var_dump(@get_class($val));
+ //var_dump($val);
$s .= dol_print_date($val, 'dayhour');
} else {
$s .= $val;
diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php
index 4f8b8509f4e..920fe69025d 100644
--- a/htdocs/comm/action/index.php
+++ b/htdocs/comm/action/index.php
@@ -1191,7 +1191,8 @@ if (count($listofextcals)) {
foreach ($icalevents as $icalevent) {
//var_dump($icalevent);
- //print $icalevent['SUMMARY'].'->'.var_dump($icalevent).' ';exit;
+ //print $icalevent['SUMMARY'].'->';
+ //var_dump($icalevent);exit;
if (!empty($icalevent['RRULE'])) {
continue; // We found a repeatable event. It was already split into unitary events, so we discard general rule.
}
diff --git a/htdocs/comm/action/pertype.php b/htdocs/comm/action/pertype.php
index 9869bd2d305..64b635d169d 100644
--- a/htdocs/comm/action/pertype.php
+++ b/htdocs/comm/action/pertype.php
@@ -961,7 +961,9 @@ function show_day_events_pertype($username, $day, $month, $year, $monthshown, $s
$ymd = sprintf("%04d", $year).sprintf("%02d", $month).sprintf("%02d", $day);
$nextindextouse = count($colorindexused); // At first run, this is 0, so fist user has 0, next 1, ...
- //if ($username->id && $day==1) var_dump($eventarray);
+ //if ($username->id && $day==1) {
+ //var_dump($eventarray);
+ //}
// We are in a particular day for $username, now we scan all events
foreach ($eventarray as $daykey => $notused) {
diff --git a/htdocs/comm/action/peruser.php b/htdocs/comm/action/peruser.php
index 68c9088815d..07bcd90e972 100644
--- a/htdocs/comm/action/peruser.php
+++ b/htdocs/comm/action/peruser.php
@@ -1130,7 +1130,9 @@ function show_day_events2($username, $day, $month, $year, $monthshown, $style, &
$colorindexused[$user->id] = 0; // Color index for current user (user->id) is always 0
$nextindextouse = count($colorindexused); // At first run this is 0, so first user has 0, next 1, ...
- //if ($username->id && $day==1) var_dump($eventarray);
+ //if ($username->id && $day==1) {
+ //var_dump($eventarray);
+ //}
// We are in a particular day for $username, now we scan all events
foreach ($eventarray as $daykey => $notused) {
diff --git a/htdocs/compta/prelevement/class/bonprelevement.class.php b/htdocs/compta/prelevement/class/bonprelevement.class.php
index 4f9eb4e456e..df142fb6531 100644
--- a/htdocs/compta/prelevement/class/bonprelevement.class.php
+++ b/htdocs/compta/prelevement/class/bonprelevement.class.php
@@ -1066,8 +1066,8 @@ class BonPrelevement extends CommonObject
// This also set the property $this->total with amount that is included into file
$result = $this->generate($format, $executiondate, $type);
if ($result < 0) {
- /*var_dump($this->error);
- var_dump($this->invoice_in_error); */
+ //var_dump($this->error);
+ //var_dump($this->invoice_in_error);
$error++;
}
}
diff --git a/htdocs/core/class/commoninvoice.class.php b/htdocs/core/class/commoninvoice.class.php
index e49f8a6a728..dc35cfbc7aa 100644
--- a/htdocs/core/class/commoninvoice.class.php
+++ b/htdocs/core/class/commoninvoice.class.php
@@ -862,11 +862,11 @@ abstract class CommonInvoice extends CommonObject
$pricewithtax = implode(unpack("H*", price2num($pricewithtaxstring, 2)));
$pricetax = implode(unpack("H*", $pricetaxstring));
- var_dump(strlen($this->thirdparty->name));
- var_dump(str_pad(dechex('9'), 2, '0', STR_PAD_LEFT));
- var_dump($this->thirdparty->name);
- var_dump(implode(unpack("H*", $this->thirdparty->name)));
- var_dump(price($this->total_tva, 0, $tmplang, 0, -1, 2));
+ //var_dump(strlen($this->thirdparty->name));
+ //var_dump(str_pad(dechex('9'), 2, '0', STR_PAD_LEFT));
+ //var_dump($this->thirdparty->name);
+ //var_dump(implode(unpack("H*", $this->thirdparty->name)));
+ //var_dump(price($this->total_tva, 0, $tmplang, 0, -1, 2));
$s = '01'.str_pad(dechex(strlen($this->thirdparty->name)), 2, '0', STR_PAD_LEFT).$name;
$s .= '02'.str_pad(dechex(strlen($this->thirdparty->tva_intra)), 2, '0', STR_PAD_LEFT).$vatnumber;
diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index c96db183a3f..08ebac1c5e7 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -8321,9 +8321,9 @@ class Form
$listcheckedstring = '';
foreach ($array as $key => $val) {
- /* var_dump($val);
- var_dump(array_key_exists('enabled', $val));
- var_dump(!$val['enabled']);*/
+ // var_dump($val);
+ // var_dump(array_key_exists('enabled', $val));
+ // var_dump(!$val['enabled']);
if (array_key_exists('enabled', $val) && isset($val['enabled']) && !$val['enabled']) {
unset($array[$key]); // We don't want this field
continue;
diff --git a/htdocs/core/customreports.php b/htdocs/core/customreports.php
index 2d00677b20a..ace78c5199a 100644
--- a/htdocs/core/customreports.php
+++ b/htdocs/core/customreports.php
@@ -880,8 +880,8 @@ if ($mode == 'graph') {
$px1 = new DolGraph();
$mesg = $px1->isGraphKo();
if (!$mesg) {
- /*var_dump($legend);
- var_dump($data);*/
+ //var_dump($legend);
+ //var_dump($data);
$px1->SetData($data);
unset($data);
diff --git a/htdocs/core/lib/files.lib.php b/htdocs/core/lib/files.lib.php
index 2cf0beb013f..6b0852e4784 100644
--- a/htdocs/core/lib/files.lib.php
+++ b/htdocs/core/lib/files.lib.php
@@ -330,9 +330,9 @@ function completeFileArrayWithDatabaseInfo(&$filearray, $relativedir)
}
}
- /*var_dump($relativedir);
- var_dump($filearray);
- var_dump($filearrayindatabase);*/
+ //var_dump($relativedir);
+ //var_dump($filearray);
+ //var_dump($filearrayindatabase);
// Complete filearray with properties found into $filearrayindatabase
foreach ($filearray as $key => $val) {
diff --git a/htdocs/core/lib/phpsessionindb.lib.php b/htdocs/core/lib/phpsessionindb.lib.php
index 8001b3ece60..0af40522bfc 100644
--- a/htdocs/core/lib/phpsessionindb.lib.php
+++ b/htdocs/core/lib/phpsessionindb.lib.php
@@ -104,10 +104,9 @@ function dolSessionWrite($sess_id, $val)
global $sessionlastvalueread;
global $sessionidfound;
- /*var_dump('write '.$sess_id);
- var_dump($val);
- var_dump('sessionlastvalueread='.$sessionlastvalueread.' sessionidfound='.$sessionidfound);
- */
+ //var_dump('write '.$sess_id);
+ //var_dump($val);
+ //var_dump('sessionlastvalueread='.$sessionlastvalueread.' sessionidfound='.$sessionidfound);
//$sessionlastvalueread='';
if ($sessionlastvalueread != $val) {
@@ -141,7 +140,7 @@ function dolSessionWrite($sess_id, $val)
$insert_query = "INSERT INTO ".MAIN_DB_PREFIX."session";
$insert_query .= "(session_id, session_variable, last_accessed, fk_user, remote_ip, user_agent)";
$insert_query .= " VALUES ('".$dbsession->escape($sess_id)."', '".$dbsession->escape($val)."', '".$dbsession->idate($time_stamp)."', 0, '".$dbsession->escape(getUserRemoteIP())."', '".$dbsession->escape(substr($_SERVER['HTTP_USER_AGENT'], 0, 255)."')";
- var_dump($insert_query);
+ //var_dump($insert_query);
$result = $dbsession->query($insert_query);
if (!$result) {
dol_print_error($dbsession);
diff --git a/htdocs/core/lib/sendings.lib.php b/htdocs/core/lib/sendings.lib.php
index e2ab74b8cfc..4988be3cefd 100644
--- a/htdocs/core/lib/sendings.lib.php
+++ b/htdocs/core/lib/sendings.lib.php
@@ -398,7 +398,7 @@ function show_list_sending_receive($origin, $origin_id, $filter = '')
/*TODO Add link to expeditiondet_batch
if (! empty($conf->productbatch->enabled))
{
- var_dump($objp->edrowid);
+ //var_dump($objp->edrowid);
$lines[$i]->detail_batch
if (isset($lines[$i]->detail_batch))
{
diff --git a/htdocs/core/lib/usergroups.lib.php b/htdocs/core/lib/usergroups.lib.php
index e14302da340..0589ca6c1c5 100644
--- a/htdocs/core/lib/usergroups.lib.php
+++ b/htdocs/core/lib/usergroups.lib.php
@@ -1048,17 +1048,15 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false)
print ' | ';
print '
';
} else {
- /*var_dump($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER);
+ //var_dump($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER);
+ /*
$default=$langs->trans('No');
print '';
print '| '.$langs->trans("MAIN_OPTIMIZEFORTEXTBROWSER").' | ';
print '';
- if ($edit)
- {
+ if ($edit) {
print $form->selectyesno('MAIN_OPTIMIZEFORTEXTBROWSER', $conf->global->MAIN_OPTIMIZEFORTEXTBROWSER, 1);
- }
- else
- {
+ } else {
print yn($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER);
}
print ' wspan class="opacitymedium">'.$langs->trans("Default").': '.$default.' ';
diff --git a/htdocs/core/menus/standard/auguria_menu.php b/htdocs/core/menus/standard/auguria_menu.php
index ebb5edc1c3b..45fd15dc325 100644
--- a/htdocs/core/menus/standard/auguria_menu.php
+++ b/htdocs/core/menus/standard/auguria_menu.php
@@ -115,7 +115,9 @@ class MenuManager
$this->tabMenu = $tabMenu;
//var_dump($tabMenu);
- //if ($forcemainmenu == 'all') { var_dump($this->tabMenu); exit; }
+ //if ($forcemainmenu == 'all') {
+ //var_dump($this->tabMenu);
+ //}
}
diff --git a/htdocs/core/menus/standard/eldy_menu.php b/htdocs/core/menus/standard/eldy_menu.php
index 5b426199a6e..0493a503fa5 100644
--- a/htdocs/core/menus/standard/eldy_menu.php
+++ b/htdocs/core/menus/standard/eldy_menu.php
@@ -198,8 +198,12 @@ class MenuManager
$submenu = new Menu();
print_left_eldy_menu($this->db, $this->menu_array, $this->menu_array_after, $this->tabMenu, $submenu, 1, $tmpmainmenu, $tmpleftmenu, null, $this->type_user); // Fill $submenu (example with tmpmainmenu='home' tmpleftmenu='all', return left menu tree of Home)
// Note: $submenu contains menu entry with substitution not yet done
- //if ($tmpmainmenu.'-'.$tmpleftmenu == 'home-all') { var_dump($submenu); exit; }
- //if ($tmpmainmenu=='accountancy') { var_dump($submenu->liste); exit; }
+ //if ($tmpmainmenu.'-'.$tmpleftmenu == 'home-all') {
+ //var_dump($submenu); exit;
+ //}
+ //if ($tmpmainmenu=='accountancy') {
+ //var_dump($submenu->liste); exit;
+ //}
$nexturl = dol_buildpath($submenu->liste[0]['url'], 1);
$canonrelurl = preg_replace('/\?.*$/', '', $relurl);
diff --git a/htdocs/core/menus/standard/empty.php b/htdocs/core/menus/standard/empty.php
index cc9db4cb769..62ea755c548 100644
--- a/htdocs/core/menus/standard/empty.php
+++ b/htdocs/core/menus/standard/empty.php
@@ -208,8 +208,12 @@ class MenuManager
$submenu->add("/admin/dict.php?mainmenu=home", $langs->trans("DictionarySetup"), 1);
$submenu->add("/admin/const.php?mainmenu=home", $langs->trans("OtherSetup"), 1);
- //if ($tmpmainmenu.'-'.$tmpleftmenu == 'home-all') { var_dump($submenu); exit; }
- //if ($tmpmainmenu=='accountancy') { var_dump($submenu->liste); exit; }
+ //if ($tmpmainmenu.'-'.$tmpleftmenu == 'home-all') {
+ //var_dump($submenu); exit;
+ //}
+ //if ($tmpmainmenu=='accountancy') {
+ //var_dump($submenu->liste); exit;
+ //}
$nexturl = dol_buildpath($submenu->liste[0]['url'], 1);
$canonrelurl = preg_replace('/\?.*$/', '', $relurl);
diff --git a/htdocs/core/modules/bank/doc/pdf_ban.modules.php b/htdocs/core/modules/bank/doc/pdf_ban.modules.php
index 2a76b04fa41..bfa313bad0b 100644
--- a/htdocs/core/modules/bank/doc/pdf_ban.modules.php
+++ b/htdocs/core/modules/bank/doc/pdf_ban.modules.php
@@ -356,7 +356,7 @@ class pdf_ban extends ModeleBankAccountDoc
foreach($object->linkedObjects as $objecttype => $objects)
{
- var_dump($objects);exit;
+ //var_dump($objects);exit;
if ($objecttype == 'commande')
{
$outputlangs->load('orders');
diff --git a/htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php b/htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php
index b73a173e015..2194358afab 100644
--- a/htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php
+++ b/htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php
@@ -397,11 +397,11 @@ class pdf_sepamandate extends ModeleBankAccountDoc
$bottomlasttab = $this->page_hauteur - $heightforinfotot - $heightforfreetext - $heightforfooter + 1;
}
- /*var_dump($tab_top);
- var_dump($heightforinfotot);
- var_dump($heightforfreetext);
- var_dump($heightforfooter);
- var_dump($bottomlasttab);*/
+ //var_dump($tab_top);
+ //var_dump($heightforinfotot);
+ //var_dump($heightforfreetext);
+ //var_dump($heightforfooter);
+ //var_dump($bottomlasttab);
// Affiche zone infos
$posy = $this->_tableau_info($pdf, $object, $bottomlasttab, $outputlangs);
diff --git a/htdocs/core/modules/import/import_csv.modules.php b/htdocs/core/modules/import/import_csv.modules.php
index e45630df298..b57fa1bf655 100644
--- a/htdocs/core/modules/import/import_csv.modules.php
+++ b/htdocs/core/modules/import/import_csv.modules.php
@@ -439,7 +439,7 @@ class ImportCsv extends ModeleImports
/*include_once DOL_DOCUMENT_ROOT.'/accountancy/class/accountancysystem.class.php';
$tmpchartofaccount = new AccountancySystem($this->db);
$tmpchartofaccount->fetch($conf->global->CHARTOFACCOUNTS);
- var_dump($tmpchartofaccount->ref.' - '.$arrayrecord[0]['val']);
+ //var_dump($tmpchartofaccount->ref.' - '.$arrayrecord[0]['val']);
if ((! ($conf->global->CHARTOFACCOUNTS > 0)) || $tmpchartofaccount->ref != $arrayrecord[0]['val'])
{
$this->errors[$error]['lib']=$langs->trans('ErrorImportOfChartLimitedToCurrentChart', $tmpchartofaccount->ref);
diff --git a/htdocs/core/modules/import/import_xlsx.modules.php b/htdocs/core/modules/import/import_xlsx.modules.php
index 9fa5cbf2c44..d9fe3048e2f 100644
--- a/htdocs/core/modules/import/import_xlsx.modules.php
+++ b/htdocs/core/modules/import/import_xlsx.modules.php
@@ -481,7 +481,7 @@ class ImportXlsx extends ModeleImports
/*include_once DOL_DOCUMENT_ROOT.'/accountancy/class/accountancysystem.class.php';
$tmpchartofaccount = new AccountancySystem($this->db);
$tmpchartofaccount->fetch($conf->global->CHARTOFACCOUNTS);
- var_dump($tmpchartofaccount->ref.' - '.$arrayrecord[0]['val']);
+ //var_dump($tmpchartofaccount->ref.' - '.$arrayrecord[0]['val']);
if ((! ($conf->global->CHARTOFACCOUNTS > 0)) || $tmpchartofaccount->ref != $arrayrecord[0]['val'])
{
$this->errors[$error]['lib']=$langs->trans('ErrorImportOfChartLimitedToCurrentChart', $tmpchartofaccount->ref);
diff --git a/htdocs/core/modules/project/doc/pdf_baleine.modules.php b/htdocs/core/modules/project/doc/pdf_baleine.modules.php
index 776f2f9d1e6..2df5e28ab9e 100644
--- a/htdocs/core/modules/project/doc/pdf_baleine.modules.php
+++ b/htdocs/core/modules/project/doc/pdf_baleine.modules.php
@@ -662,7 +662,7 @@ class pdf_baleine extends ModelePDFProjects
foreach($object->linkedObjects as $objecttype => $objects)
{
- var_dump($objects);exit;
+ //var_dump($objects);exit;
if ($objecttype == 'commande')
{
$outputlangs->load('orders');
diff --git a/htdocs/core/modules/project/doc/pdf_timespent.modules.php b/htdocs/core/modules/project/doc/pdf_timespent.modules.php
index 991ff794d72..2c954e19b7e 100644
--- a/htdocs/core/modules/project/doc/pdf_timespent.modules.php
+++ b/htdocs/core/modules/project/doc/pdf_timespent.modules.php
@@ -658,7 +658,7 @@ class pdf_timespent extends ModelePDFProjects
foreach($object->linkedObjects as $objecttype => $objects)
{
- var_dump($objects);exit;
+ //var_dump($objects);exit;
if ($objecttype == 'commande')
{
$outputlangs->load('orders');
diff --git a/htdocs/emailcollector/class/emailcollector.class.php b/htdocs/emailcollector/class/emailcollector.class.php
index 39686c6e82f..ef1557f4f00 100644
--- a/htdocs/emailcollector/class/emailcollector.class.php
+++ b/htdocs/emailcollector/class/emailcollector.class.php
@@ -1228,7 +1228,8 @@ class EmailCollector extends CommonObject
$header = imap_fetchheader($connection, $imapemail, 0);
$overview = imap_fetch_overview($connection, $imapemail, 0);
- /* print $header; var_dump($overview); */
+ // print $header;
+ // var_dump($overview);
// Process $header of email
$header = preg_replace('/\r\n\s+/m', ' ', $header); // When a header line is on several lines, merge lines
@@ -1336,19 +1337,20 @@ class EmailCollector extends CommonObject
$this->getmsg($connection, $imapemail);
- //print $plainmsg; var_dump($plainmsg); exit;
+ //print $plainmsg;
+ //var_dump($plainmsg); exit;
//$htmlmsg,$plainmsg,$charset,$attachments
$messagetext = $plainmsg ? $plainmsg : dol_string_nohtmltag($htmlmsg, 0);
// Removed emojis
$messagetext = preg_replace('/[\x{10000}-\x{10FFFF}]/u', "\xEF\xBF\xBD", $messagetext);
- /*var_dump($plainmsg);
- var_dump($htmlmsg);
- var_dump($messagetext);*/
- /*var_dump($charset);
- var_dump($attachments);
- exit;*/
+ //var_dump($plainmsg);
+ //var_dump($htmlmsg);
+ //var_dump($messagetext);
+ //var_dump($charset);
+ //var_dump($attachments);
+ //exit;
// Parse IMAP email structure
/*
@@ -1381,11 +1383,13 @@ class EmailCollector extends CommonObject
}
}
}
- //var_dump($result); var_dump($partplain); var_dump($parthtml);
+ //var_dump($result);
+ //var_dump($partplain);
+ //var_dump($parthtml);
- var_dump($structure);
- var_dump($parthtml);
- var_dump($partplain);
+ //var_dump($structure);
+ //var_dump($parthtml);
+ //var_dump($partplain);
$messagetext = imap_fetchbody($connection, $imapemail, ($parthtml != '-1' ? $parthtml : ($partplain != '-1' ? $partplain : 1)), FT_PEEK);
*/
@@ -1891,12 +1895,12 @@ class EmailCollector extends CommonObject
// Overwrite values with values extracted from source email
$errorforthisaction = $this->overwritePropertiesOfObject($actioncomm, $operation['actionparam'], $messagetext, $subject, $header);
- /*var_dump($fk_element_id);
- var_dump($fk_element_type);
- var_dump($alreadycreated);
- var_dump($operation['type']);
- var_dump($actioncomm);
- exit;*/
+ //var_dump($fk_element_id);
+ //var_dump($fk_element_type);
+ //var_dump($alreadycreated);
+ //var_dump($operation['type']);
+ //var_dump($actioncomm);
+ //exit;
if ($errorforthisaction) {
$errorforactions++;
diff --git a/htdocs/emailcollector/class/emailcollectoraction.class.php b/htdocs/emailcollector/class/emailcollectoraction.class.php
index eaa4b0737b9..5ce35541a16 100644
--- a/htdocs/emailcollector/class/emailcollectoraction.class.php
+++ b/htdocs/emailcollector/class/emailcollectoraction.class.php
@@ -233,7 +233,8 @@ class EmailCollectorAction extends CommonObject
foreach ($object->array_options as $key => $option) {
$shortkey = preg_replace('/options_/', '', $key);
if (!empty($extrafields->attributes[$this->element]['unique'][$shortkey])) {
- //var_dump($key); var_dump($clonedObj->array_options[$key]); exit;
+ //var_dump($key);
+ //var_dump($clonedObj->array_options[$key]); exit;
unset($object->array_options[$key]);
}
}
diff --git a/htdocs/emailcollector/class/emailcollectorfilter.class.php b/htdocs/emailcollector/class/emailcollectorfilter.class.php
index a99c5198d72..ec42ce53a34 100644
--- a/htdocs/emailcollector/class/emailcollectorfilter.class.php
+++ b/htdocs/emailcollector/class/emailcollectorfilter.class.php
@@ -207,7 +207,8 @@ class EmailCollectorFilter extends CommonObject
foreach ($object->array_options as $key => $option) {
$shortkey = preg_replace('/options_/', '', $key);
if (!empty($extrafields->attributes[$this->element]['unique'][$shortkey])) {
- //var_dump($key); var_dump($clonedObj->array_options[$key]); exit;
+ //var_dump($key);
+ //var_dump($clonedObj->array_options[$key]); exit;
unset($object->array_options[$key]);
}
}
diff --git a/htdocs/eventorganization/class/conferenceorboothattendee.class.php b/htdocs/eventorganization/class/conferenceorboothattendee.class.php
index 2f0c54ef2d4..3dfbb2e1a6c 100644
--- a/htdocs/eventorganization/class/conferenceorboothattendee.class.php
+++ b/htdocs/eventorganization/class/conferenceorboothattendee.class.php
@@ -318,7 +318,8 @@ class ConferenceOrBoothAttendee extends CommonObject
foreach ($object->array_options as $key => $option) {
$shortkey = preg_replace('/options_/', '', $key);
if (!empty($extrafields->attributes[$this->table_element]['unique'][$shortkey])) {
- //var_dump($key); var_dump($clonedObj->array_options[$key]); exit;
+ //var_dump($key);
+ //var_dump($clonedObj->array_options[$key]); exit;
unset($object->array_options[$key]);
}
}
diff --git a/htdocs/expedition/card.php b/htdocs/expedition/card.php
index 8045edde410..d341f293827 100644
--- a/htdocs/expedition/card.php
+++ b/htdocs/expedition/card.php
@@ -268,7 +268,10 @@ if (empty($reshook)) {
$sub_qty[$j]['id_batch'] = GETPOST($batch, 'int'); // the id into llx_product_batch of stock record to move
$subtotalqty += $sub_qty[$j]['q'];
- //var_dump($qty);var_dump($batch);var_dump($sub_qty[$j]['q']);var_dump($sub_qty[$j]['id_batch']);
+ //var_dump($qty);
+ //var_dump($batch);
+ //var_dump($sub_qty[$j]['q']);
+ //var_dump($sub_qty[$j]['id_batch']);
$j++;
$batch = "batchl".$i."_".$j;
@@ -325,7 +328,6 @@ if (empty($reshook)) {
//var_dump($batch_line[2]);
if ($totalqty > 0) { // There is at least one thing to ship
- //var_dump($_POST);exit;
for ($i = 0; $i < $num; $i++) {
$qty = "qtyl".$i;
if (!isset($batch_line[$i])) {
diff --git a/htdocs/expensereport/tpl/expensereport_linktofile.tpl.php b/htdocs/expensereport/tpl/expensereport_linktofile.tpl.php
index 76a11c7121b..3835740dd40 100644
--- a/htdocs/expensereport/tpl/expensereport_linktofile.tpl.php
+++ b/htdocs/expensereport/tpl/expensereport_linktofile.tpl.php
@@ -102,7 +102,9 @@ if (empty($conf->global->EXPENSEREPORT_DISABLE_ATTACHMENT_ON_LINES)) {
}
print ' ';
$checked = '';
- //var_dump(GETPOST($file['relativename'])); var_dump($file['relativename']); var_dump($_FILES['userfile']['name']);
+ //var_dump(GETPOST($file['relativename']));
+ //var_dump($file['relativename']);
+ //var_dump($_FILES['userfile']['name']);
// If a file was just uploaded, we check to preselect it
if (is_array($_FILES['userfile']['name'])) {
foreach ($_FILES['userfile']['name'] as $tmpfile) {
diff --git a/htdocs/fourn/class/fournisseur.commande.class.php b/htdocs/fourn/class/fournisseur.commande.class.php
index b08e31381a1..bafe606b4e8 100644
--- a/htdocs/fourn/class/fournisseur.commande.class.php
+++ b/htdocs/fourn/class/fournisseur.commande.class.php
@@ -3399,12 +3399,12 @@ class CommandeFournisseur extends CommonOrder
$diff_array = array_diff_assoc($qtydelivered, $qtywished); // Warning: $diff_array is done only on common keys.
$keysinwishednotindelivered = array_diff(array_keys($qtywished), array_keys($qtydelivered)); // To check we also have same number of keys
$keysindeliverednotinwished = array_diff(array_keys($qtydelivered), array_keys($qtywished)); // To check we also have same number of keys
- /*var_dump(array_keys($qtydelivered));
- var_dump(array_keys($qtywished));
- var_dump($diff_array);
- var_dump($keysinwishednotindelivered);
- var_dump($keysindeliverednotinwished);
- exit;*/
+ //var_dump(array_keys($qtydelivered));
+ //var_dump(array_keys($qtywished));
+ //var_dump($diff_array);
+ //var_dump($keysinwishednotindelivered);
+ //var_dump($keysindeliverednotinwished);
+ //exit;
if (count($diff_array) == 0 && count($keysinwishednotindelivered) == 0 && count($keysindeliverednotinwished) == 0) { //No diff => mean everythings is received
if ($closeopenorder) {
diff --git a/htdocs/fourn/facture/card.php b/htdocs/fourn/facture/card.php
index 0aa8eb93d9d..287327f2a6a 100644
--- a/htdocs/fourn/facture/card.php
+++ b/htdocs/fourn/facture/card.php
@@ -714,10 +714,10 @@ if (empty($reshook)) {
$dateinvoice = dol_mktime(0, 0, 0, GETPOST('remonth', 'int'), GETPOST('reday', 'int'), GETPOST('reyear', 'int'), 'tzserver'); // If we enter the 02 january, we need to save the 02 january for server
$datedue = dol_mktime(0, 0, 0, GETPOST('echmonth', 'int'), GETPOST('echday', 'int'), GETPOST('echyear', 'int'), 'tzserver');
- /*var_dump($dateinvoice.' '.dol_print_date($dateinvoice, 'dayhour'));
- var_dump(dol_now('tzuserrel').' '.dol_get_last_hour(dol_now('tzuserrel')).' '.dol_print_date(dol_now('tzuserrel'),'dayhour').' '.dol_print_date(dol_get_last_hour(dol_now('tzuserrel')), 'dayhour'));
- var_dump($db->idate($dateinvoice));
- exit;*/
+ //var_dump($dateinvoice.' '.dol_print_date($dateinvoice, 'dayhour'));
+ //var_dump(dol_now('tzuserrel').' '.dol_get_last_hour(dol_now('tzuserrel')).' '.dol_print_date(dol_now('tzuserrel'),'dayhour').' '.dol_print_date(dol_get_last_hour(dol_now('tzuserrel')), 'dayhour'));
+ //var_dump($db->idate($dateinvoice));
+ //exit;
// Replacement invoice
if (GETPOST('type') == FactureFournisseur::TYPE_REPLACEMENT) {
diff --git a/htdocs/holiday/class/holiday.class.php b/htdocs/holiday/class/holiday.class.php
index 1e11e81f543..1582317f27f 100644
--- a/htdocs/holiday/class/holiday.class.php
+++ b/htdocs/holiday/class/holiday.class.php
@@ -1117,11 +1117,9 @@ class Holiday extends CommonObject
if ($infos_CP['statut'] == 5) {
continue; // ignore not validated holidays
}
- /*
- var_dump("--");
- var_dump("old: ".dol_print_date($infos_CP['date_debut'],'dayhour').' '.dol_print_date($infos_CP['date_fin'],'dayhour').' '.$infos_CP['halfday']);
- var_dump("new: ".dol_print_date($dateStart,'dayhour').' '.dol_print_date($dateEnd,'dayhour').' '.$halfday);
- */
+ //var_dump("--");
+ //var_dump("old: ".dol_print_date($infos_CP['date_debut'],'dayhour').' '.dol_print_date($infos_CP['date_fin'],'dayhour').' '.$infos_CP['halfday']);
+ //var_dump("new: ".dol_print_date($dateStart,'dayhour').' '.dol_print_date($dateEnd,'dayhour').' '.$halfday);
if ($halfday == 0) {
if ($dateStart >= $infos_CP['date_debut'] && $dateStart <= $infos_CP['date_fin']) {
diff --git a/htdocs/knowledgemanagement/class/knowledgerecord.class.php b/htdocs/knowledgemanagement/class/knowledgerecord.class.php
index a2f03a64e41..3d9b8979079 100644
--- a/htdocs/knowledgemanagement/class/knowledgerecord.class.php
+++ b/htdocs/knowledgemanagement/class/knowledgerecord.class.php
@@ -284,7 +284,8 @@ class KnowledgeRecord extends CommonObject
foreach ($object->array_options as $key => $option) {
$shortkey = preg_replace('/options_/', '', $key);
if (!empty($extrafields->attributes[$this->table_element]['unique'][$shortkey])) {
- //var_dump($key); var_dump($clonedObj->array_options[$key]); exit;
+ //var_dump($key);
+ //var_dump($clonedObj->array_options[$key]); exit;
unset($object->array_options[$key]);
}
}
diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php
index 43cb73fb36c..3feeed0afad 100644
--- a/htdocs/modulebuilder/index.php
+++ b/htdocs/modulebuilder/index.php
@@ -393,7 +393,8 @@ if ($dirins && in_array($action, array('initapi', 'initphpunit', 'initpagecontac
$varnametoupdate = 'showtabofpageagenda';
}
- //var_dump($srcfile);var_dump($destfile);
+ //var_dump($srcfile);
+ //var_dump($destfile);
$result = dol_copy($srcfile, $destfile, 0, 0);
if ($result > 0) {
@@ -437,11 +438,13 @@ if ($dirins && $action == 'initsqlextrafields' && !empty($module)) {
$srcdir = DOL_DOCUMENT_ROOT.'/modulebuilder/template';
$srcfile1 = $srcdir.'/sql/llx_mymodule_myobject_extrafields.sql';
$destfile1 = $dirins.'/'.strtolower($module).'/sql/llx_'.strtolower($module).'_'.strtolower($objectname).'_extrafields.sql';
- //var_dump($srcfile);var_dump($destfile);
+ //var_dump($srcfile);
+ //var_dump($destfile);
$result1 = dol_copy($srcfile1, $destfile1, 0, 0);
$srcfile2 = $srcdir.'/sql/llx_mymodule_myobject_extrafields.key.sql';
$destfile2 = $dirins.'/'.strtolower($module).'/sql/llx_'.strtolower($module).'_'.strtolower($objectname).'_extrafields.key.sql';
- //var_dump($srcfile);var_dump($destfile);
+ //var_dump($srcfile);
+ //var_dump($destfile);
$result2 = dol_copy($srcfile2, $destfile2, 0, 0);
if ($result1 > 0 && $result2 > 0) {
@@ -489,7 +492,8 @@ if ($dirins && $action == 'inithook' && !empty($module)) {
$srcdir = DOL_DOCUMENT_ROOT.'/modulebuilder/template';
$srcfile = $srcdir.'/class/actions_mymodule.class.php';
$destfile = $dirins.'/'.strtolower($module).'/class/actions_'.strtolower($module).'.class.php';
- //var_dump($srcfile);var_dump($destfile);
+ //var_dump($srcfile);
+ //var_dump($destfile);
$result = dol_copy($srcfile, $destfile, 0, 0);
if ($result > 0) {
@@ -522,7 +526,8 @@ if ($dirins && $action == 'inittrigger' && !empty($module)) {
$srcdir = DOL_DOCUMENT_ROOT.'/modulebuilder/template';
$srcfile = $srcdir.'/core/triggers/interface_99_modMyModule_MyModuleTriggers.class.php';
$destfile = $dirins.'/'.strtolower($module).'/core/triggers/interface_99_mod'.$module.'_'.$module.'Triggers.class.php';
- //var_dump($srcfile);var_dump($destfile);
+ //var_dump($srcfile);
+ //var_dump($destfile);
$result = dol_copy($srcfile, $destfile, 0, 0);
if ($result > 0) {
@@ -555,7 +560,8 @@ if ($dirins && $action == 'initwidget' && !empty($module)) {
$srcdir = DOL_DOCUMENT_ROOT.'/modulebuilder/template';
$srcfile = $srcdir.'/core/boxes/mymodulewidget1.php';
$destfile = $dirins.'/'.strtolower($module).'/core/boxes/'.strtolower($module).'widget1.php';
- //var_dump($srcfile);var_dump($destfile);
+ //var_dump($srcfile);
+ //var_dump($destfile);
$result = dol_copy($srcfile, $destfile, 0, 0);
if ($result > 0) {
@@ -588,7 +594,8 @@ if ($dirins && $action == 'initcss' && !empty($module)) {
$srcdir = DOL_DOCUMENT_ROOT.'/modulebuilder/template';
$srcfile = $srcdir.'/css/mymodule.css.php';
$destfile = $dirins.'/'.strtolower($module).'/css/'.strtolower($module).'.css.php';
- //var_dump($srcfile);var_dump($destfile);
+ //var_dump($srcfile);
+ //var_dump($destfile);
$result = dol_copy($srcfile, $destfile, 0, 0);
if ($result > 0) {
@@ -626,7 +633,8 @@ if ($dirins && $action == 'initjs' && !empty($module)) {
$srcdir = DOL_DOCUMENT_ROOT.'/modulebuilder/template';
$srcfile = $srcdir.'/js/mymodule.js.php';
$destfile = $dirins.'/'.strtolower($module).'/js/'.strtolower($module).'.js.php';
- //var_dump($srcfile);var_dump($destfile);
+ //var_dump($srcfile);
+ //var_dump($destfile);
$result = dol_copy($srcfile, $destfile, 0, 0);
if ($result > 0) {
@@ -664,7 +672,8 @@ if ($dirins && $action == 'initcli' && !empty($module)) {
$srcdir = DOL_DOCUMENT_ROOT.'/modulebuilder/template';
$srcfile = $srcdir.'/scripts/mymodule.php';
$destfile = $dirins.'/'.strtolower($module).'/scripts/'.strtolower($module).'.php';
- //var_dump($srcfile);var_dump($destfile);
+ //var_dump($srcfile);
+ //var_dump($destfile);
$result = dol_copy($srcfile, $destfile, 0, 0);
if ($result > 0) {
@@ -702,7 +711,8 @@ if ($dirins && $action == 'initdoc' && !empty($module)) {
$srcdir = DOL_DOCUMENT_ROOT.'/modulebuilder/template';
$srcfile = $srcdir.'/doc/Documentation.asciidoc';
$destfile = $dirins.'/'.strtolower($module).'/doc/Documentation.asciidoc';
- //var_dump($srcfile);var_dump($destfile);
+ //var_dump($srcfile);
+ //var_dump($destfile);
$result = dol_copy($srcfile, $destfile, 0, 0);
if ($result > 0) {
@@ -2632,7 +2642,8 @@ if ($module == 'initmodule') {
$pathtoobjlib = strtolower($module).'/lib/'.strtolower($module).'_'.strtolower($tabobj).'.lib.php';
$pathtopicto = strtolower($module).'/img/object_'.strtolower($tabobj).'.png';
- //var_dump($pathtoclass); var_dump($dirread);
+ //var_dump($pathtoclass);
+ //var_dump($dirread);
$realpathtoclass = $dirread.'/'.$pathtoclass;
$realpathtoapi = $dirread.'/'.$pathtoapi;
$realpathtoagenda = $dirread.'/'.$pathtoagenda;
diff --git a/htdocs/modulebuilder/template/class/myobject.class.php b/htdocs/modulebuilder/template/class/myobject.class.php
index f5e1a18abff..245d9726048 100644
--- a/htdocs/modulebuilder/template/class/myobject.class.php
+++ b/htdocs/modulebuilder/template/class/myobject.class.php
@@ -338,7 +338,8 @@ class MyObject extends CommonObject
foreach ($object->array_options as $key => $option) {
$shortkey = preg_replace('/options_/', '', $key);
if (!empty($extrafields->attributes[$this->table_element]['unique'][$shortkey])) {
- //var_dump($key); var_dump($clonedObj->array_options[$key]); exit;
+ //var_dump($key);
+ //var_dump($clonedObj->array_options[$key]); exit;
unset($object->array_options[$key]);
}
}
diff --git a/htdocs/mrp/class/mo.class.php b/htdocs/mrp/class/mo.class.php
index 2c0773dd9be..ecc3684e4fe 100644
--- a/htdocs/mrp/class/mo.class.php
+++ b/htdocs/mrp/class/mo.class.php
@@ -342,7 +342,8 @@ class Mo extends CommonObject
foreach ($object->array_options as $key => $option) {
$shortkey = preg_replace('/options_/', '', $key);
if (!empty($extrafields->attributes[$this->element]['unique'][$shortkey])) {
- //var_dump($key); var_dump($clonedObj->array_options[$key]); exit;
+ //var_dump($key);
+ //var_dump($clonedObj->array_options[$key]); exit;
unset($object->array_options[$key]);
}
}
diff --git a/htdocs/partnership/class/partnership.class.php b/htdocs/partnership/class/partnership.class.php
index 83a6acc933a..126ea58076b 100644
--- a/htdocs/partnership/class/partnership.class.php
+++ b/htdocs/partnership/class/partnership.class.php
@@ -311,7 +311,8 @@ class Partnership extends CommonObject
foreach ($object->array_options as $key => $option) {
$shortkey = preg_replace('/options_/', '', $key);
if (!empty($extrafields->attributes[$this->table_element]['unique'][$shortkey])) {
- //var_dump($key); var_dump($clonedObj->array_options[$key]); exit;
+ //var_dump($key);
+ //var_dump($clonedObj->array_options[$key]); exit;
unset($object->array_options[$key]);
}
}
diff --git a/htdocs/product/class/productfournisseurprice.class.php b/htdocs/product/class/productfournisseurprice.class.php
index ef9b2a49117..8f166f702b1 100644
--- a/htdocs/product/class/productfournisseurprice.class.php
+++ b/htdocs/product/class/productfournisseurprice.class.php
@@ -244,7 +244,8 @@ class ProductFournisseurPrice extends CommonObject
foreach ($object->array_options as $key => $option) {
$shortkey = preg_replace('/options_/', '', $key);
if (!empty($extrafields->attributes[$this->table_element]['unique'][$shortkey])) {
- //var_dump($key); var_dump($clonedObj->array_options[$key]); exit;
+ //var_dump($key);
+ //var_dump($clonedObj->array_options[$key]); exit;
unset($object->array_options[$key]);
}
}
diff --git a/htdocs/product/stock/massstockmove.php b/htdocs/product/stock/massstockmove.php
index 781f2037dba..b6abd4b153a 100644
--- a/htdocs/product/stock/massstockmove.php
+++ b/htdocs/product/stock/massstockmove.php
@@ -232,7 +232,11 @@ if ($action == 'createmovements' && !empty($user->rights->stock->mouvement->cree
$firstrecord = array_shift($arraybatchinfo);
$dlc = $firstrecord['eatby'];
$dluo = $firstrecord['sellby'];
- //var_dump($batch); var_dump($arraybatchinfo); var_dump($firstrecord); var_dump($dlc); var_dump($dluo); exit;
+ //var_dump($batch);
+ //var_dump($arraybatchinfo);
+ //var_dump($firstrecord);
+ //var_dump($dlc);
+ //var_dump($dluo); exit;
} else {
$dlc = '';
$dluo = '';
diff --git a/htdocs/projet/activity/perday.php b/htdocs/projet/activity/perday.php
index 4066e164cc9..4f30054155a 100644
--- a/htdocs/projet/activity/perday.php
+++ b/htdocs/projet/activity/perday.php
@@ -84,9 +84,9 @@ $monthofday = GETPOST('addtimemonth');
$dayofday = GETPOST('addtimeday');
$yearofday = GETPOST('addtimeyear');
-/*var_dump(GETPOST('remonth'));
-var_dump(GETPOST('button_search_x'));
-var_dump(GETPOST('button_addtime'));*/
+//var_dump(GETPOST('remonth'));
+//var_dump(GETPOST('button_search_x'));
+//var_dump(GETPOST('button_addtime'));
$daytoparse = $now;
if ($year && $month && $day) {
diff --git a/htdocs/projet/activity/permonth.php b/htdocs/projet/activity/permonth.php
index c8af7348716..156080eefb3 100644
--- a/htdocs/projet/activity/permonth.php
+++ b/htdocs/projet/activity/permonth.php
@@ -239,7 +239,8 @@ if ($action == 'addtime' && $user->rights->projet->lire) {
if (!$updateoftaskdone) { // Check to update progress if no update were done on task.
$object->fetch($taskid);
- //var_dump($object->progress);var_dump(GETPOST($taskid . 'progress', 'int')); exit;
+ //var_dump($object->progress);
+ //var_dump(GETPOST($taskid . 'progress', 'int')); exit;
if ($object->progress != GETPOST($taskid.'progress', 'int')) {
$object->progress = GETPOST($taskid.'progress', 'int');
$result = $object->update($user);
diff --git a/htdocs/projet/activity/perweek.php b/htdocs/projet/activity/perweek.php
index 768a23a7b9a..0152f968c0c 100644
--- a/htdocs/projet/activity/perweek.php
+++ b/htdocs/projet/activity/perweek.php
@@ -308,7 +308,8 @@ if ($action == 'addtime' && $user->rights->projet->lire && GETPOST('formfilterac
if (!$updateoftaskdone) { // Check to update progress if no update were done on task.
$object->fetch($taskid);
- //var_dump($object->progress);var_dump(GETPOST($taskid . 'progress', 'int')); exit;
+ //var_dump($object->progress);
+ //var_dump(GETPOST($taskid . 'progress', 'int')); exit;
if ($object->progress != GETPOST($taskid.'progress', 'int')) {
$object->progress = GETPOST($taskid.'progress', 'int');
$result = $object->update($user);
diff --git a/htdocs/recruitment/class/recruitmentcandidature.class.php b/htdocs/recruitment/class/recruitmentcandidature.class.php
index fb08409eb27..835cfe0b7cd 100644
--- a/htdocs/recruitment/class/recruitmentcandidature.class.php
+++ b/htdocs/recruitment/class/recruitmentcandidature.class.php
@@ -270,7 +270,8 @@ class RecruitmentCandidature extends CommonObject
foreach ($object->array_options as $key => $option) {
$shortkey = preg_replace('/options_/', '', $key);
if (!empty($extrafields->attributes[$this->table_element]['unique'][$shortkey])) {
- //var_dump($key); var_dump($clonedObj->array_options[$key]); exit;
+ //var_dump($key);
+ //var_dump($clonedObj->array_options[$key]); exit;
unset($object->array_options[$key]);
}
}
diff --git a/htdocs/recruitment/class/recruitmentjobposition.class.php b/htdocs/recruitment/class/recruitmentjobposition.class.php
index bc46b40f186..43e20858f69 100644
--- a/htdocs/recruitment/class/recruitmentjobposition.class.php
+++ b/htdocs/recruitment/class/recruitmentjobposition.class.php
@@ -279,7 +279,8 @@ class RecruitmentJobPosition extends CommonObject
foreach ($object->array_options as $key => $option) {
$shortkey = preg_replace('/options_/', '', $key);
if (!empty($extrafields->attributes[$this->element]['unique'][$shortkey])) {
- //var_dump($key); var_dump($clonedObj->array_options[$key]); exit;
+ //var_dump($key);
+ //var_dump($clonedObj->array_options[$key]); exit;
unset($object->array_options[$key]);
}
}
diff --git a/htdocs/recruitment/core/modules/recruitment/doc/pdf_standard_recruitmentjobposition.modules.php b/htdocs/recruitment/core/modules/recruitment/doc/pdf_standard_recruitmentjobposition.modules.php
index ba1d0a8d9f5..45483ea51f9 100644
--- a/htdocs/recruitment/core/modules/recruitment/doc/pdf_standard_recruitmentjobposition.modules.php
+++ b/htdocs/recruitment/core/modules/recruitment/doc/pdf_standard_recruitmentjobposition.modules.php
@@ -611,7 +611,8 @@ class pdf_standard_recruitmentjobposition extends ModelePDFRecruitmentJobPositio
$pageposafter = $pdf->getPage();
$posyafter = $pdf->GetY();
- //var_dump($posyafter); var_dump(($this->page_hauteur - ($heightforfooter+$heightforfreetext+$heightforinfotot))); exit;
+ //var_dump($posyafter);
+ //var_dump(($this->page_hauteur - ($heightforfooter+$heightforfreetext+$heightforinfotot))); exit;
if ($posyafter > ($this->page_hauteur - ($heightforfooter + $heightforfreetext + $heightforinfotot))) { // There is no space left for total+free text
if ($i == ($nblines - 1)) { // No more lines, and no space left to show total, so we create a new page
$pdf->AddPage('', '', true);
diff --git a/htdocs/salaries/card.php b/htdocs/salaries/card.php
index 3f077255a1c..3a673b0bbd5 100644
--- a/htdocs/salaries/card.php
+++ b/htdocs/salaries/card.php
@@ -135,8 +135,8 @@ if (empty($reshook)) {
}
if ($cancel) {
- /*var_dump($cancel);
- var_dump($backtopage);exit;*/
+ //var_dump($cancel);
+ //var_dump($backtopage);exit;
if (!empty($backtopageforcancel)) {
header("Location: ".$backtopageforcancel);
exit;
diff --git a/htdocs/societe/paymentmodes.php b/htdocs/societe/paymentmodes.php
index 8629044f83b..bdbf7453c35 100644
--- a/htdocs/societe/paymentmodes.php
+++ b/htdocs/societe/paymentmodes.php
@@ -545,7 +545,9 @@ if (empty($reshook)) {
$resql = $db->query($sql);
}
}
- //var_dump($sql); var_dump($newcu); var_dump($num); exit;
+ //var_dump($sql);
+ //var_dump($newcu);
+ //var_dump($num); exit;
if (!$error) {
$stripecu = $newcu;
diff --git a/htdocs/stripe/class/stripe.class.php b/htdocs/stripe/class/stripe.class.php
index 18ebce96f8b..36e67d2827c 100644
--- a/htdocs/stripe/class/stripe.class.php
+++ b/htdocs/stripe/class/stripe.class.php
@@ -531,12 +531,12 @@ class Stripe extends CommonObject
$this->code = $e->getStripeCode();
$this->declinecode = $e->getDeclineCode();
} catch (Exception $e) {
- /*var_dump($dataforintent);
- var_dump($description);
- var_dump($key);
- var_dump($paymentintent);
- var_dump($e->getMessage());
- var_dump($e);*/
+ //var_dump($dataforintent);
+ //var_dump($description);
+ //var_dump($key);
+ //var_dump($paymentintent);
+ //var_dump($e->getMessage());
+ //var_dump($e);
$error++;
$this->error = $e->getMessage();
$this->code = '';
@@ -695,11 +695,11 @@ class Stripe extends CommonObject
$_SESSION["stripe_setup_intent"] = $setupintent;
}*/
} catch (Exception $e) {
- /*var_dump($dataforintent);
- var_dump($description);
- var_dump($key);
- var_dump($setupintent);
- var_dump($e->getMessage());*/
+ //var_dump($dataforintent);
+ //var_dump($description);
+ //var_dump($key);
+ //var_dump($setupintent);
+ //var_dump($e->getMessage());
$error++;
$this->error = $e->getMessage();
}
@@ -780,7 +780,8 @@ class Stripe extends CommonObject
);
//$a = \Stripe\Stripe::getApiKey();
- //var_dump($a);var_dump($stripeacc);exit;
+ //var_dump($a);
+ //var_dump($stripeacc);exit;
try {
if (empty($stripeacc)) { // If the Stripe connect account not set, we use common API usage
if (empty($conf->global->STRIPE_USE_INTENT_WITH_AUTOMATIC_CONFIRMATION)) {
diff --git a/htdocs/supplier_proposal/card.php b/htdocs/supplier_proposal/card.php
index 369dcf3742f..df54da4132c 100644
--- a/htdocs/supplier_proposal/card.php
+++ b/htdocs/supplier_proposal/card.php
@@ -741,7 +741,9 @@ if (empty($reshook)) {
$date_end
);
- //var_dump($tva_tx);var_dump($productsupplier->fourn_pu);var_dump($price_base_type);exit;
+ //var_dump($tva_tx);
+ //var_dump($productsupplier->fourn_pu);
+ //var_dump($price_base_type);exit;
if ($result < 0) {
$error++;
setEventMessages($object->error, $object->errors, 'errors');
diff --git a/htdocs/ticket/class/cticketcategory.class.php b/htdocs/ticket/class/cticketcategory.class.php
index aa0dd68ec19..5de60a48d85 100644
--- a/htdocs/ticket/class/cticketcategory.class.php
+++ b/htdocs/ticket/class/cticketcategory.class.php
@@ -290,7 +290,8 @@ class CTicketCategory extends CommonObject
foreach ($object->array_options as $key => $option) {
$shortkey = preg_replace('/options_/', '', $key);
if (!empty($extrafields->attributes[$this->table_element]['unique'][$shortkey])) {
- //var_dump($key); var_dump($clonedObj->array_options[$key]); exit;
+ //var_dump($key);
+ //var_dump($clonedObj->array_options[$key]); exit;
unset($object->array_options[$key]);
}
}
diff --git a/htdocs/ticket/class/ticket.class.php b/htdocs/ticket/class/ticket.class.php
index b14285121a7..98a9ac23355 100644
--- a/htdocs/ticket/class/ticket.class.php
+++ b/htdocs/ticket/class/ticket.class.php
@@ -2494,7 +2494,8 @@ class Ticket extends CommonObject
if (!$error && $id > 0) {
setEventMessages($langs->trans('TicketMessageSuccessfullyAdded'), null, 'mesgs');
- //var_dump($_SESSION); var_dump($listofpaths);exit;
+ //var_dump($_SESSION);
+ //var_dump($listofpaths);exit;
/*
* Public area
diff --git a/htdocs/ticket/list.php b/htdocs/ticket/list.php
index 5204b0ffea7..d3f97620f91 100644
--- a/htdocs/ticket/list.php
+++ b/htdocs/ticket/list.php
@@ -836,7 +836,9 @@ foreach ($object->fields as $key => $val) {
$arrayofstatus[$key2] = $val2;
}
print ' | ';
- //var_dump($arrayofstatus);var_dump($search['fk_statut']);var_dump(array_values($search[$key]));
+ //var_dump($arrayofstatus);
+ //var_dump($search['fk_statut']);
+ //var_dump(array_values($search[$key]));
$selectedarray = null;
if (!empty($search[$key])) {
$selectedarray = array_values($search[$key]);
diff --git a/htdocs/website/index.php b/htdocs/website/index.php
index 968094cad18..a170a2b777e 100644
--- a/htdocs/website/index.php
+++ b/htdocs/website/index.php
@@ -410,7 +410,8 @@ if ($sortorder) {
include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php'; // This manage 'sendit' action when submitting new file.
$backtopage = $savbacktopage;
-//var_dump($backtopage); var_dump($action);
+//var_dump($backtopage);
+//var_dump($action);
if ($action == 'renamefile') { // Must be after include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php'; If action were renamefile, we set it to 'file_manager'
$action = 'file_manager';
diff --git a/htdocs/workstation/class/workstation.class.php b/htdocs/workstation/class/workstation.class.php
index 4131f074e85..2f084916a75 100644
--- a/htdocs/workstation/class/workstation.class.php
+++ b/htdocs/workstation/class/workstation.class.php
@@ -318,7 +318,8 @@ class Workstation extends CommonObject
foreach ($object->array_options as $key => $option) {
$shortkey = preg_replace('/options_/', '', $key);
if (!empty($extrafields->attributes[$this->table_element]['unique'][$shortkey])) {
- //var_dump($key); var_dump($clonedObj->array_options[$key]); exit;
+ //var_dump($key);
+ //var_dump($clonedObj->array_options[$key]); exit;
unset($object->array_options[$key]);
}
}
|