[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [ocs-webserver/dev] application/modules/backend/controllers: bugfix backend tags
From: Ronald von Schlegell <null () kde ! org>
Date: 2018-09-12 7:49:36
Message-ID: E1fzzu4-0003IL-6P () code ! kde ! org
[Download RAW message or body]
Git commit ff4abc42ed79de31bcad0ee93ad1a88be5c65254 by Ronald von Schlegell.
Committed on 12/09/2018 at 07:49.
Pushed by ronaldv into branch 'dev'.
bugfix backend tags
M +5 -1 application/modules/backend/controllers/TagsController.php
https://commits.kde.org/ocs-webserver/ff4abc42ed79de31bcad0ee93ad1a88be5c65254
diff --git a/application/modules/backend/controllers/TagsController.php \
b/application/modules/backend/controllers/TagsController.php index ac9243ec..29d22e27 \
100644
--- a/application/modules/backend/controllers/TagsController.php
+++ b/application/modules/backend/controllers/TagsController.php
@@ -161,12 +161,16 @@ class Backend_TagsController extends \
Local_Controller_Action_Backend $jTableResult = array();
try {
$groupItemId = (int)$this->getParam('tag_group_item_id');
- $tagId = (int)$this->getParam('tag_id');
+ //$tagId = (int)$this->getParam('tag_id');
$tagName = $this->getParam('tag_name');
$tagFullname = $this->getParam('tag_fullname');
$tagDescription = $this->getParam('tag_description');
$modelTagGroup = new Default_Model_TagGroup();
+ //load tag
+ $record = $modelTagGroup->fetchOneGroupItem($groupItemId);
+ $tagId = $record['tag_id'];
+
$modelTagGroup->updateGroupTag($tagId, \
$tagName,$tagFullname,$tagDescription); $record = \
$modelTagGroup->fetchOneGroupItem($groupItemId);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic