Skip to content

Commit d65b517

Browse files
committed
fix Fatal error
1 parent 864276c commit d65b517

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package/system/controllers/api/api_actions/api_content_get_ctypes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function validateApiRequest($ctype_name=null) {
4747

4848
}
4949

50-
public function run($ctype_name){
50+
public function run(){
5151

5252
if(empty($this->ctype)){
5353

package/system/controllers/api/api_actions/api_users_get_sig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public function run(){
1010

1111
$this->result = array(
1212
'sig' => get_sig(),
13-
'csrf_token' => cmsForm::generateCSRFToken()
13+
'csrf_token' => cmsForm::getCSRFToken()
1414
);
1515

1616
}

0 commit comments

Comments
 (0)