forked from extern/egroupware
Fixed permissions where not being checked properly
This commit is contained in:
parent
52d4757d87
commit
1eab12fbda
@ -86,14 +86,6 @@
|
|||||||
<?php
|
<?php
|
||||||
//echo '<a href="javascript:opennotifywindow()">Open notify window</a>';
|
//echo '<a href="javascript:opennotifywindow()">Open notify window</a>';
|
||||||
|
|
||||||
if(isset($code) && $code){
|
|
||||||
switch($code){
|
|
||||||
case "5":
|
|
||||||
echo lang("You do not have permissions to that application");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($phpgw_info["user"]["apps"]["stocks"] && $phpgw_info["user"]["preferences"]["stocks"]["enabled"]) {
|
if ($phpgw_info["user"]["apps"]["stocks"] && $phpgw_info["user"]["preferences"]["stocks"]["enabled"]) {
|
||||||
include($phpgw_info["server"]["server_root"] . "/stocks/inc/functions.inc.php");
|
include($phpgw_info["server"]["server_root"] . "/stocks/inc/functions.inc.php");
|
||||||
echo '<tr><td align="right">' . return_quotes($quotes) . '</td></tr>';
|
echo '<tr><td align="right">' . return_quotes($quotes) . '</td></tr>';
|
||||||
|
Loading…
Reference in New Issue
Block a user