Skip to content

Commit d236be6

Browse files
author
Phil Sturgeon
committed
and -> &&
1 parent 77cee5b commit d236be6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base_facebook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ protected function _oauthRequest($url, $params) {
898898

899899
// json_encode all params values that are not strings
900900
foreach ($params as $key => $value) {
901-
if (!is_string($value) and !($value instanceof CURLFile)) {
901+
if (!is_string($value) && !($value instanceof CURLFile)) {
902902
$params[$key] = json_encode($value);
903903
}
904904
}

0 commit comments

Comments
 (0)