From 9720ac1373f1316966a3847c28b999a69f97e470 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sun, 3 May 2009 17:29:37 +0200 Subject: [PATCH] vendor: Check editor input when creating/updating entries --- include/vendor.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/vendor.php b/include/vendor.php index f70bd8b..1aad746 100644 --- a/include/vendor.php +++ b/include/vendor.php @@ -194,6 +194,12 @@ class Vendor { return false; } + function checkOutputEditorInput($aClean) + { + if(!getInput('sVendorName', $aClean)) + return '
  • You need to enter the developer\'s name
  • '; + } + function outputEditor() { $oTable = new Table();