Commit 87fc4430 authored by Michael Scholz's avatar Michael Scholz

update_record_permissions() isn't callable via API as it has no session_id in its params

parent d536e5a6
......@@ -48,7 +48,7 @@ class remoting_admin extends remoting {
* @param array permissions
* @author "ispcomm", improved by M. Cramer <m.cramer@pixcept.de>
*/
public function update_record_permissions($tablename, $index_field, $index_value, $permissions) {
public function update_record_permissions($session_id, $tablename, $index_field, $index_value, $permissions) {
global $app;
if(!$this->checkPerm($session_id, 'admin_record_permissions')) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment