Skip to content

Commit cb4fdb8

Browse files
Bug fix
- Fixed PHP Notice: Undefined offset
1 parent 7506b7e commit cb4fdb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oauthrequest.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function execute() {
8484
if(strlen(trim($header)) == 0) return strlen($header);
8585

8686
if(strpos($header, ": ") !== false) {
87-
list($key, $value) = explode(": ", trim($header), 2);
87+
list($key, $value) = explode(": ", $header, 2);
8888
$key = trim($key); $value = trim($value);
8989

9090
$key = explode("-", $key);

0 commit comments

Comments
 (0)