Code Duplication    Length = 4-4 lines in 2 locations

core/Database.class.php 1 location

@@ 212-215 (lines=4) @@
209
		 * tableaux respectifs (appellée dans this->insert et this->update
210
		 */
211
		private function add($champ, $value) {
212
			if (($champ !== null) && ($value !== null)) {
213
				$this->champs[] = $champ;
214
				$this->value[] = $value;
215
			}
216
		}
217
218
		/**

core/modules/Querybuilder.class.php 1 location

@@ 72-75 (lines=4) @@
69
		 * tableaux respectifs (appellée dans this->insert et this->update
70
		 */
71
		private function add($champ, $value) {
72
			if (($champ !== null) && ($value !== null)) {
73
				$this->champs[] = $champ;
74
				$this->value[] = $value;
75
			}
76
		}
77
78
		/**