Subversion Repositories oidplus

Rev

Rev 1116 | Rev 1201 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1116 Rev 1130
Line 116... Line 116...
116
                        // Method:     GET / POST
116
                        // Method:     GET / POST
117
                        // Parameters: id; goto (optional)
117
                        // Parameters: id; goto (optional)
118
                        // Outputs:    JSON
118
                        // Outputs:    JSON
119
                        _CheckParamExists($_REQUEST, 'id');
119
                        _CheckParamExists($_REQUEST, 'id');
120
                        $_REQUEST['id'] = OIDplus::prefilterQuery($_REQUEST['id'], false);
120
                        $_REQUEST['id'] = OIDplus::prefilterQuery($_REQUEST['id'], false);
121
                        $json_out = OIDplus::menuUtils()->json_tree($_REQUEST['id'], isset($_REQUEST['goto']) ? $_REQUEST['goto'] : '');
121
                        $json_out = OIDplus::menuUtils()->json_tree($_REQUEST['id'], $_REQUEST['goto'] ?? '');
122
                } else {
122
                } else {
123
                        throw new OIDplusException(_L('Invalid action ID'));
123
                        throw new OIDplusException(_L('Invalid action ID'));
124
                }
124
                }
125
        }
125
        }
126
 
126