* add stripTags to company name

This commit is contained in:
wenjie@cnezsoft.com
2011-05-14 03:33:31 +00:00
parent d24521868e
commit 91c32687b3
+1 -1
View File
@@ -98,7 +98,7 @@ class companyModel extends model
*/
public function update()
{
$company = fixer::input('post')->get();
$company = fixer::input('post')->stripTags('name')->get();
$companyID = $this->app->company->id;
$this->dao->update(TABLE_COMPANY)
->data($company)