|
@@ 3067-3069 (lines=3) @@
|
| 3064 |
|
$this->query); |
| 3065 |
|
} |
| 3066 |
|
|
| 3067 |
|
if (strpos($this->query, 'LEFT(') !== false) { |
| 3068 |
|
$this->query = str_replace('LEFT(', '_LEFT(', $this->query); |
| 3069 |
|
} |
| 3070 |
|
|
| 3071 |
|
if (strpos($this->query, 'TIMESTAMPDIFF(') !== false) { |
| 3072 |
|
$this->query = preg_replace('/TIMESTAMPDIFF\(\s*([^,]*)\s*,/Uims', "TIMESTAMPDIFF('\\1',", $this->query); |
|
@@ 3151-3152 (lines=2) @@
|
| 3148 |
|
// |
| 3149 |
|
// Correction Antiquotes et echappements |
| 3150 |
|
// ` => rien |
| 3151 |
|
if (strpos($this->query, '`') !== false) { |
| 3152 |
|
$this->query = str_replace('`', '', $this->query); |
| 3153 |
|
} |
| 3154 |
|
|
| 3155 |
|
$this->query = query_reinjecte_textes($this->query, $textes); |