mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
delete correction (removed trim on check)
This commit is contained in:
@@ -9,8 +9,8 @@
|
|||||||
* Tagwords Event Handler
|
* Tagwords Event Handler
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/tagwords/e_event.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/tagwords/e_event.php,v $
|
||||||
* $Revision: 1.2 $
|
* $Revision: 1.3 $
|
||||||
* $Date: 2009-01-17 22:46:37 $
|
* $Date: 2009-05-06 21:54:33 $
|
||||||
* $Author: lisa_ $
|
* $Author: lisa_ $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -58,7 +58,7 @@ class e_event_tagwords
|
|||||||
*/
|
*/
|
||||||
function event_create($data)
|
function event_create($data)
|
||||||
{
|
{
|
||||||
if(isset($_POST['tagwords']) && trim($_POST['tagwords'])!='')
|
if(isset($_POST['tagwords']))
|
||||||
{
|
{
|
||||||
return $this->tag->dbTagWords($data['table'], intval($data['id']), $_POST['tagwords']);
|
return $this->tag->dbTagWords($data['table'], intval($data['id']), $_POST['tagwords']);
|
||||||
}
|
}
|
||||||
@@ -70,7 +70,7 @@ class e_event_tagwords
|
|||||||
*/
|
*/
|
||||||
function event_update($data)
|
function event_update($data)
|
||||||
{
|
{
|
||||||
if(isset($_POST['tagwords']) && trim($_POST['tagwords'])!='')
|
if(isset($_POST['tagwords']))
|
||||||
{
|
{
|
||||||
return $this->tag->dbTagWords($data['table'], intval($data['id']), $_POST['tagwords']);
|
return $this->tag->dbTagWords($data['table'], intval($data['id']), $_POST['tagwords']);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user