diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/BookmarkController.php b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/BookmarkController.php index fe8d8def..12fa1868 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/BookmarkController.php +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/BookmarkController.php @@ -41,7 +41,7 @@ class BookmarkController extends Controller $user=$pagewidget->getPage()->getUser(); if($user!=$this->getUser()) throw $this->createNotFoundException('Permission denied'); } - else { + elseif($usage=="group") { $groupentity=$this->getDoctrine()->getRepository("CadolesCoreBundle:Group")->find($group); $usergroup=$this->getDoctrine()->getRepository("CadolesCoreBundle:UserGroup")->findoneby(["user"=>$this->getUser(),"group"=>$groupentity]); if(!$usergroup or $usergroup->getRolegroup()<50) throw $this->createNotFoundException('Permission denied'); diff --git a/src/ninegate-1.0/web/uploads/icon/icon_nineschool.png b/src/ninegate-1.0/web/uploads/icon/icon_nineschool.png new file mode 100644 index 00000000..7d69e85c Binary files /dev/null and b/src/ninegate-1.0/web/uploads/icon/icon_nineschool.png differ