# HG changeset patch # User Matti Hamalainen # Date 1416494920 -7200 # Node ID 38d80cd9437c29b89a7caf339c3091d4f33c79e8 # Parent c984cff340e3e5c726298d38c13eb4f3d6746a85 Oops, add missing function argument. diff -r c984cff340e3 -r 38d80cd9437c admajax.php --- 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)",