]> git.mxchange.org Git - friendica.git/commitdiff
changed "and" -> && according to CR
authorRoland Haeder <roland@mxchange.org>
Sat, 25 Mar 2017 11:47:31 +0000 (12:47 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 25 Mar 2017 11:47:47 +0000 (12:47 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
mod/dfrn_notify.php

index caa27b8690d352012c6a067fbc2951d5762eb5df..e8a08661d9f5a55103e9cc6740570c2061890141 100644 (file)
@@ -143,7 +143,7 @@ function dfrn_notify_post(App $a) {
        $rino = get_config('system','rino_encrypt');
        $rino = intval($rino);
        // use RINO1 if mcrypt isn't installed and RINO2 was selected
-       if ($rino == 2 and !function_exists('mcrypt_create_iv')) {
+       if ($rino == 2 && !function_exists('mcrypt_create_iv')) {
                $rino = 1;
        }
 
@@ -319,7 +319,7 @@ function dfrn_notify_content(App $a) {
                $rino = intval($rino);
                // use RINO1 if mcrypt isn't installed and RINO2 was selected
                /// @TODO Define a code-standard: and/AND/&& are around
-               if ($rino == 2 and !function_exists('mcrypt_create_iv')) {
+               if ($rino == 2 && !function_exists('mcrypt_create_iv')) {
                        $rino = 1;
                }