Completed
Branch develop (f5af02)
by
unknown
17:35
created
htdocs/comm/remx.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
  *		\brief      Page to edit absolute discounts for a customer
25 25
  */
26 26
 
27
-if (! defined('CSRFCHECK_WITH_TOKEN')) define('CSRFCHECK_WITH_TOKEN', '1');		// Force use of CSRF protection with tokens even for GET
27
+if (!defined('CSRFCHECK_WITH_TOKEN')) define('CSRFCHECK_WITH_TOKEN', '1'); // Force use of CSRF protection with tokens even for GET
28 28
 
29 29
 // Load Dolibarr environment
30 30
 require '../main.inc.php';
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
 	print '</table>';
331 331
 	print '</div>';
332 332
 
333
-	print '</div>';	// close fichecenter
333
+	print '</div>'; // close fichecenter
334 334
 
335 335
 	print dol_get_fiche_end();
336 336
 
Please login to merge, or discard this patch.
htdocs/comm/action/class/cactioncomm.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
 							}
235 235
 						}
236 236
 						// For the case type is not 'system...' neither 'module', we just check module is on
237
-						if (! in_array($obj->type, array('system', 'systemauto', 'module', 'moduleauto'))) {
237
+						if (!in_array($obj->type, array('system', 'systemauto', 'module', 'moduleauto'))) {
238 238
 							$tmpmodule = $obj->module;
239 239
 							//var_dump($tmpmodule);
240 240
 							if ($tmpmodule && isset($conf->$tmpmodule) && isModEnabled($tmpmodule)) {
Please login to merge, or discard this patch.
htdocs/comm/mailing/class/advtargetemailing.class.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 		$customerStatic->loadCacheOfProspStatus();
126 126
 		if (!empty($customerStatic->cacheprospectstatus)) {
127 127
 			foreach ($customerStatic->cacheprospectstatus as $dataProspectSt) {
128
-				$this->type_statuscommprospect[$dataProspectSt['id']]=$dataProspectSt['label'];
128
+				$this->type_statuscommprospect[$dataProspectSt['id']] = $dataProspectSt['label'];
129 129
 			}
130 130
 		} else {
131 131
 			$this->type_statuscommprospect = array(
@@ -628,7 +628,7 @@  discard block
 block discarded – undo
628 628
 						}
629 629
 					} elseif ($extrafields->attributes[$elementtype]['type'][$key] == 'link') {
630 630
 						if ($arrayquery['options_'.$key] > 0) {
631
-							$sqlwhere[]= " (te.".$key." = ".((int) $arrayquery["options_".$key]).")";
631
+							$sqlwhere[] = " (te.".$key." = ".((int) $arrayquery["options_".$key]).")";
632 632
 						}
633 633
 					} else {
634 634
 						if (is_array($arrayquery['options_'.$key])) {
Please login to merge, or discard this patch.
htdocs/intracommreport/card.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
 if ($action == 'add' && $permissiontoadd) {
119 119
 	$object->label = trim($label);
120 120
 	$object->type = trim($exporttype);
121
-	$object->type_declaration =  $type_declaration;
121
+	$object->type_declaration = $type_declaration;
122 122
 	//$object->subscription = (int) $subscription;
123 123
 
124 124
 	// Fill array 'array_options' with data from add form
Please login to merge, or discard this patch.
htdocs/intracommreport/class/intracommreport.class.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 	public $picto = 'intracommreport';
57 57
 
58 58
 
59
-	public $label; 		// ref ???
59
+	public $label; // ref ???
60 60
 
61 61
 	public $period;
62 62
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 	 */
68 68
 	public $declaration_number;
69 69
 
70
-	public $type_declaration;		// deb or des
70
+	public $type_declaration; // deb or des
71 71
 
72 72
 
73 73
 	/**
Please login to merge, or discard this patch.
htdocs/don/payment/payment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
 			// Create a line of payments
96 96
 			$payment = new PaymentDonation($db);
97 97
 			$payment->chid         = $chid;
98
-			$payment->datep     = $datepaid;
98
+			$payment->datep = $datepaid;
99 99
 			$payment->amounts      = $amounts; // Tableau de montant
100 100
 			$payment->paymenttype  = GETPOST("paymenttype", 'int');
101 101
 			$payment->num_payment  = GETPOST("num_payment", 'alphanohtml');
Please login to merge, or discard this patch.
htdocs/don/document.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 }
82 82
 $result = restrictedArea($user, 'don', $object->id);
83 83
 
84
-$permissiontoadd = $user->rights->don->creer;	// Used by the include of actions_dellink.inc.php
84
+$permissiontoadd = $user->rights->don->creer; // Used by the include of actions_dellink.inc.php
85 85
 
86 86
 
87 87
 /*
Please login to merge, or discard this patch.
htdocs/don/class/paymentdonation.class.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
 
65 65
 	public $amounts = array(); // Array of amounts
66 66
 
67
-	public $fk_typepayment;	// Payment mode ID
68
-	public $paymenttype;	// Payment mode ID or Code. TODO Use only the code in this field.
67
+	public $fk_typepayment; // Payment mode ID
68
+	public $paymenttype; // Payment mode ID or Code. TODO Use only the code in this field.
69 69
 
70 70
 	public $num_payment;
71 71
 
@@ -269,8 +269,8 @@  discard block
 block discarded – undo
269 269
 				$this->tms            = $this->db->jdate($obj->tms);
270 270
 				$this->datep		  = $this->db->jdate($obj->datep);
271 271
 				$this->amount         = $obj->amount;
272
-				$this->fk_typepayment = $obj->fk_typepayment;	// Id on type of payent
273
-				$this->paymenttype    = $obj->fk_typepayment;	// Id on type of payment. We should store the code into paymenttype.
272
+				$this->fk_typepayment = $obj->fk_typepayment; // Id on type of payent
273
+				$this->paymenttype    = $obj->fk_typepayment; // Id on type of payment. We should store the code into paymenttype.
274 274
 				$this->num_payment    = $obj->num_payment;
275 275
 				$this->note_public    = $obj->note_public;
276 276
 				$this->fk_bank        = $obj->fk_bank;
@@ -688,7 +688,7 @@  discard block
 block discarded – undo
688 688
 		}
689 689
 
690 690
 		global $action;
691
-		$hookmanager->initHooks(array($this->element . 'dao'));
691
+		$hookmanager->initHooks(array($this->element.'dao'));
692 692
 		$parameters = array('id'=>$this->id, 'getnomurl' => &$result);
693 693
 		$reshook = $hookmanager->executeHooks('getNomUrl', $parameters, $this, $action); // Note that $action and $object may have been modified by some hooks
694 694
 		if ($reshook > 0) {
Please login to merge, or discard this patch.
htdocs/margin/customerMargins.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
 
66 66
 $startdate = $enddate = '';
67 67
 if (GETPOST('startdatemonth')) {
68
-	$startdate = dol_mktime(0, 0, 0, GETPOST('startdatemonth', 'int'),  GETPOST('startdateday', 'int'),  GETPOST('startdateyear', 'int'));
68
+	$startdate = dol_mktime(0, 0, 0, GETPOST('startdatemonth', 'int'), GETPOST('startdateday', 'int'), GETPOST('startdateyear', 'int'));
69 69
 }
70 70
 if (GETPOST('enddatemonth')) {
71 71
 	$enddate = dol_mktime(23, 59, 59, GETPOST('enddatemonth', 'int'), GETPOST('enddateday', 'int'), GETPOST('enddateyear'));
Please login to merge, or discard this patch.