Jeremy D commited on 2011-11-06 14:27:39
Showing 1 changed files, with 4 additions and 1 deletions.
... | ... |
@@ -644,10 +644,13 @@ class mbt_to_tbg extends tbg_converter |
644 | 644 |
$i = 0; |
645 | 645 |
foreach ($this->mantis_db->query($query) as $row) |
646 | 646 |
{ |
647 |
- $this->tbg_db->query(' |
|
647 |
+$temp = $this->tbg_db->quote(' |
|
648 | 648 |
INSERT INTO ' . $this->tbg_db_prefix . 'projects (id, name, locked, description) |
649 | 649 |
VALUES (' . $row['id'] . ', "' . $row['name'] . '", ' . $row['locked'] . ', "' . $row['description'] . '")'); |
650 | 650 |
|
651 |
+echo str_replace('\"', '"', $temp); |
|
652 |
+exit("\n"); |
|
653 |
+ |
|
651 | 654 |
++$i; |
652 | 655 |
} |
653 | 656 |
|
654 | 657 |