changeset 910:8abd4a908098

Add type into message.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 27 Nov 2014 10:27:08 +0200
parents f45d1402b8b5
children f007b3081872
files msite.inc.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/msite.inc.php	Thu Nov 27 10:26:53 2014 +0200
+++ b/msite.inc.php	Thu Nov 27 10:27:08 2014 +0200
@@ -1141,7 +1141,7 @@
   // Check basics
   if (!stChkRequestItem("type", $uploadType,
         array(CHK_TYPE, VT_STR, "Invalid upload type."),
-        array(CHK_ARRAY_VAL, array("entry", "preview"), "Invalid upload type class."))
+        array(CHK_ARRAY_VAL, array("entry", "preview"), "Invalid upload type class '%1'."))
       ||
       !stChkRequestItem("entry_id", $entryID,
         array(CHK_TYPE, VT_INT, "Invalid entry ID.")))