@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | $sql = sprintf( |
93 | 93 | 'INSERT INTO `%s` (parentid, name, description, total, weight, created) VALUES (%u, %s, %s, %u, %u, %u)', |
94 | 94 | $this->db->prefix('smartfaq_categories'), |
95 | - $parentid, |
|
95 | + $parentid, |
|
96 | 96 | $this->db->quoteString($name), |
97 | 97 | $this->db->quoteString($description), |
98 | 98 | $total, |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | 'UPDATE `%s` SET parentid = %u, name = %s, description = %s, total = %s, weight = %u, created = %u WHERE categoryid = %u', |
105 | 105 | $this->db->prefix('smartfaq_categories'), |
106 | 106 | $parentid, |
107 | - $this->db->quoteString($name), |
|
107 | + $this->db->quoteString($name), |
|
108 | 108 | $this->db->quoteString($description), |
109 | 109 | $total, |
110 | 110 | $weight, |
@@ -93,7 +93,7 @@ |
||
93 | 93 | |
94 | 94 | if ($faq->isNew()) { |
95 | 95 | $sql = sprintf('INSERT INTO `%s` (faqid, categoryid, question, howdoi, diduno, uid, datesub, status, counter, weight, html, smiley, xcodes, cancomment, comments, notifypub, modulelink, contextpage, exacturl, partialview) VALUES (NULL, %u, %s, %s, %s, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %s, %s, %u, %u)', |
96 | - $this->db->prefix('smartfaq_faq'), |
|
96 | + $this->db->prefix('smartfaq_faq'), |
|
97 | 97 | $categoryid, |
98 | 98 | $this->db->quoteString($question), |
99 | 99 | $this->db->quoteString($howdoi), |