Don't use arguments for vendor::create() and vendor::update()
This commit is contained in:
committed by
WineHQ
parent
03c8c62699
commit
d8aa5380a2
@@ -9,7 +9,8 @@ if(!$_SESSION['current']->hasPriv("admin"))
|
||||
$oVendor = new Vendor($aClean['iVendorId']);
|
||||
if($aClean['sSubmit'])
|
||||
{
|
||||
$oVendor->update($aClean['sName'],$aClean['sWebpage']);
|
||||
$oVendor->getOutputEditorValues($aClean);
|
||||
$oVendor->update();
|
||||
util_redirect_and_exit(apidb_fullurl("vendorview.php"));
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user