From 506af8b556015a13251344cb7739b896e30cc0e9 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 25 Mar 2017 12:47:31 +0100 Subject: [PATCH] changed "and" -> && according to CR Signed-off-by: Roland Haeder --- mod/dfrn_notify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index caa27b869..e8a08661d 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -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; }