vendor: Check editor input when creating/updating entries

This commit is contained in:
Alexander Nicolaysen Sørnes
2009-05-03 17:29:37 +02:00
parent 0dc6d47958
commit 9720ac1373

View File

@@ -194,6 +194,12 @@ class Vendor {
return false;
}
function checkOutputEditorInput($aClean)
{
if(!getInput('sVendorName', $aClean))
return '<li>You need to enter the developer\'s name</li>';
}
function outputEditor()
{
$oTable = new Table();