changeset 783:38d80cd9437c

Oops, add missing function argument.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 20 Nov 2014 16:48:40 +0200
parents c984cff340e3
children c6498b120ad1
files admajax.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/admajax.php	Thu Nov 20 16:39:38 2014 +0200
+++ b/admajax.php	Thu Nov 20 16:48:40 2014 +0200
@@ -1633,7 +1633,7 @@
       stExecSQLCond($sql, "OK, news item added.");
     }
     else
-    if ($type == "compo" && stValidateRequestCompoData(FALSE))
+    if ($type == "compo" && stValidateRequestCompoData(FALSE, 0))
     {
       $sql = stPrepareSQL(
         "INSERT INTO compos (name,description,visible,voting,show_authors,preview_type) VALUES (%S,%Q,0,0,0,0)",