Mercurial > hg > fapweb
diff msite.inc.php @ 910:8abd4a908098
Add type into message.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 27 Nov 2014 10:27:08 +0200 |
parents | affd8bd8c910 |
children | f007b3081872 |
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.")))