|
@@ 1173-1177 (lines=5) @@
|
| 1170 |
|
} |
| 1171 |
|
} |
| 1172 |
|
|
| 1173 |
|
if (isset($_POST['groups_news_can_view'])) { |
| 1174 |
|
foreach ($_POST['groups_news_can_view'] as $onegroup_id) { |
| 1175 |
|
$gperm_handler->addRight('news_view', $xt->topic_id(), $onegroup_id, $xoopsModule->getVar('mid')); |
| 1176 |
|
} |
| 1177 |
|
} |
| 1178 |
|
|
| 1179 |
|
news_updateCache(); |
| 1180 |
|
redirect_header('index.php?op=topicsmanager', 1, _AM_DBUPDATED); |
|
@@ 1286-1290 (lines=5) @@
|
| 1283 |
|
} |
| 1284 |
|
} |
| 1285 |
|
|
| 1286 |
|
if (isset($_POST['groups_news_can_view'])) { |
| 1287 |
|
foreach ($_POST['groups_news_can_view'] as $onegroup_id) { |
| 1288 |
|
$gperm_handler->addRight('news_view', $xt->topic_id(), $onegroup_id, $xoopsModule->getVar('mid')); |
| 1289 |
|
} |
| 1290 |
|
} |
| 1291 |
|
news_updateCache(); |
| 1292 |
|
|
| 1293 |
|
$notification_handler = xoops_getHandler('notification'); |