Code Duplication    Length = 2-3 lines in 2 locations

ecrire/req/sqlite_generique.php 2 locations

@@ 2959-2961 (lines=3) @@
2956
				$this->query);
2957
		}
2958
2959
		if (strpos($this->query, 'LEFT(') !== false) {
2960
			$this->query = str_replace('LEFT(', '_LEFT(', $this->query);
2961
		}
2962
2963
		if (strpos($this->query, 'TIMESTAMPDIFF(') !== false) {
2964
			$this->query = preg_replace('/TIMESTAMPDIFF\(\s*([^,]*)\s*,/Uims', "TIMESTAMPDIFF('\\1',", $this->query);
@@ 3043-3044 (lines=2) @@
3040
		//
3041
		// Correction Antiquotes et echappements
3042
		// ` => rien
3043
		if (strpos($this->query, '`') !== false) {
3044
			$this->query = str_replace('`', '', $this->query);
3045
		}
3046
3047
		$this->query = query_reinjecte_textes($this->query, $textes);