Permalink
Browse files

Merge remote-tracking branch 'akrabat/hotfix/deletecomment'

  • Loading branch information...
2 parents 8a0ec32 + d464cbe commit 8f84a9fc3c6faeb7a523a516250d63902dca9228 @lornajane lornajane committed Jan 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/system/application/libraries/wsactions/event/Deletecomment.php
@@ -23,7 +23,7 @@ public function checkSecurity($xml) {
$eid=$xml->action->eid;
// Now check to see if they're a site admin or an event admin
$is_site = $this->CI->user_model->isSiteAdmin((string)$xml->auth->user);
- $is_evt = $this->CI->user_model->isAdminEvent((string)$eid, $xml->auth->user);
+ $is_evt = $this->CI->user_model->isAdminEvent((int)$eid, (string)$xml->auth->user);
$is_js = $this->checkPublicKey();
return ($is_site || $is_evt || $is_js) ? true : false;

0 comments on commit 8f84a9f

Please sign in to comment.