From 621a77b275168be670cf0a59f9f0dc7b43eb3e6d Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 19 Mar 2017 00:58:46 +0100 Subject: [PATCH] added spaces around + curly braces ... Signed-off-by: Roland Haeder --- include/dfrn.php | 4 ++-- mod/dfrn_notify.php | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/include/dfrn.php b/include/dfrn.php index fc29d70dd6..b7589d7cb7 100644 --- a/include/dfrn.php +++ b/include/dfrn.php @@ -967,8 +967,8 @@ class dfrn { $rino = intval($rino); // use RINO1 if mcrypt isn't installed and RINO2 was selected - if ($rino==2 and !function_exists('mcrypt_create_iv')) { - $rino=1; + if ($rino == 2 and !function_exists('mcrypt_create_iv')) { + $rino = 1; } logger("Local rino version: ". $rino, LOGGER_DEBUG); diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index 63978386e1..a06df954dd 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -143,7 +143,9 @@ 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')) $rino=1; + if ($rino == 2 and !function_exists('mcrypt_create_iv')) { + $rino=1; + } logger("Local rino version: ". $rino, LOGGER_DEBUG); @@ -315,7 +317,9 @@ function dfrn_notify_content(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')) $rino=1; + if ($rino == 2 and !function_exists('mcrypt_create_iv')) { + $rino=1; + } logger("Local rino version: ". $rino, LOGGER_DEBUG);