set a group notification with setting a user works again (Bug #201)

This commit is contained in:
Uwe Steinmann 2015-02-11 18:30:39 +01:00
parent 014b995d12
commit f5d656bde0
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
- new language turkish - new language turkish
- SeedDMS_Core_DMS::getAllUsers() returns now previously missing - SeedDMS_Core_DMS::getAllUsers() returns now previously missing
language and theme of user language and theme of user
- fix setting a user notification only (Bug #201)
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
Changes in version 4.3.14 Changes in version 4.3.14

View File

@ -135,7 +135,7 @@ if ($action == "delnotify"){
// add notification // add notification
else if ($action == "addnotify") { else if ($action == "addnotify") {
if ($userid) { if ($userid > 0) {
$res = $document->addNotify($userid, true); $res = $document->addNotify($userid, true);
switch ($res) { switch ($res) {
case -1: case -1: