Unnessarry addslashes() and SQL_ESCAPE() removed, some added, some bigintval() added
[mailer.git] / inc / modules / admin / what-admin_add.php
index ca79dcea05f50333fed4c835b6034c619caf14b3..483a4b15e82478a9d189b0e970afcc0cafa31845 100644 (file)
@@ -175,7 +175,7 @@ if (!isset($_POST['ok']))
                                $_POST['menu'],
                                $_POST['name'],
                                $_POST['title'],
-                               addslashes($_POST['descr']),
+                               $_POST['descr'],
                                bigintval($_POST['sort']),
                        ), __FILE__, __LINE__
                );
@@ -188,7 +188,7 @@ if (!isset($_POST['ok']))
                        array(
                                $_POST['name'],
                                $_POST['title'],
-                               addslashes($_POST['descr']),
+                               $_POST['descr'],
                                bigintval($_POST['sort']),
                        ), __FILE__, __LINE__
                );