diff --git a/include/dfrn.php b/include/dfrn.php index fc29d70dd..b7589d7cb 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 63978386e..a06df954d 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);