2011-06-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/tag/edit_tag.php: Comma characters are erased during tag creation/update. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4422 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
cd9c926435
commit
5af8479b74
|
@ -1,3 +1,8 @@
|
|||
2011-06-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* godmode/tag/edit_tag.php: Comma characters are erased
|
||||
during tag creation/update.
|
||||
|
||||
2011-06-08 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* pandoradb.sql: Added support for event tags.
|
||||
|
|
|
@ -48,6 +48,10 @@ ui_print_page_header (__('Tags configuration'), "images/comments.png", false, ""
|
|||
// Two actions can performed in this page: update and create tags
|
||||
// Update tag: update an existing tag
|
||||
if ($update_tag && $id_tag != 0) {
|
||||
|
||||
// Erase comma characters on tag name
|
||||
$name_tag = str_replace(',', '', $name_tag);
|
||||
|
||||
$values = array();
|
||||
$values['name'] = $name_tag;
|
||||
$values['description'] = $description_tag;
|
||||
|
@ -67,6 +71,9 @@ if ($create_tag) {
|
|||
|
||||
$return_create = true;
|
||||
|
||||
// Erase comma characters on tag name
|
||||
$name_tag = str_replace(',', '', $name_tag);
|
||||
|
||||
$data = array();
|
||||
$data['name'] = $name_tag;
|
||||
$data['description'] = $description_tag;
|
||||
|
|
Loading…
Reference in New Issue