]> git.mxchange.org Git - friendica.git/blobdiff - mod/proxy.php
Rename DBA::is_result to DBA::isResult
[friendica.git] / mod / proxy.php
index 66ddcaa786cc79d71b64f9e48585be0318753066..29367347c28680345a4bfd3fd456bf10cca28ef5 100644 (file)
@@ -150,7 +150,7 @@ function proxy_init(App $a) {
        $photo = null;
        if (!$direct_cache && ($cachefile == '')) {
                $photo = DBA::selectFirst('photo', ['data', 'desc'], ['resource-id' => $urlhash]);
-               if (DBA::is_result($photo)) {
+               if (DBA::isResult($photo)) {
                        $img_str = $photo['data'];
                        $mime = $photo['desc'];
                        if ($mime == '') {
@@ -159,7 +159,7 @@ function proxy_init(App $a) {
                }
        }
 
-       if (!DBA::is_result($photo)) {
+       if (!DBA::isResult($photo)) {
                // It shouldn't happen but it does - spaces in URL
                $_REQUEST['url'] = str_replace(' ', '+', $_REQUEST['url']);
                $redirects = 0;