fix closing parenthesis in wrong spot

This commit is contained in:
Mario Vavti 2018-04-17 18:56:33 +02:00
parent 83e7d89f7e
commit dcd636f7be

View File

@ -285,10 +285,10 @@ class Ping extends \Zotlabs\Web\Controller {
intval(local_channel()) intval(local_channel())
); );
$b64mid = ((strpos($r[0]['thr_parent'], 'b64.' === 0)) ? $r[0]['thr_parent'] : 'b64.' . base64url_encode($r[0]['thr_parent'])); $b64mid = ((strpos($r[0]['thr_parent'], 'b64.') === 0) ? $r[0]['thr_parent'] : 'b64.' . base64url_encode($r[0]['thr_parent']));
} }
else { else {
$b64mid = ((strpos($mid, 'b64.' === 0)) ? $mid : 'b64.' . base64url_encode($mid)); $b64mid = ((strpos($mid, 'b64.') === 0) ? $mid : 'b64.' . base64url_encode($mid));
} }
$notifs[] = array( $notifs[] = array(