]> git.mxchange.org Git - friendica.git/blobdiff - mod/openid.php
Fix potential bugs without expected behavior change
[friendica.git] / mod / openid.php
index 2ae3f6c718550383ce9ccab8752bd545d8441840..d20258fa96986ff829bd20f6ea8e4b6ec05cb2fb 100644 (file)
@@ -93,17 +93,17 @@ function openid_content(App $a) {
                                        }
                                }
                        }
-                       if ($nick) {
+                       if (!empty($nick)) {
                                $args .= '&nickname=' . urlencode($nick);
                        }
-                       elseif ($first) {
+                       elseif (!empty($first)) {
                                $args .= '&nickname=' . urlencode($first);
                        }
 
-                       if ($photosq) {
+                       if (!empty($photosq)) {
                                $args .= '&photo=' . urlencode($photosq);
                        }
-                       elseif ($photo) {
+                       elseif (!empty($photo)) {
                                $args .= '&photo=' . urlencode($photo);
                        }