]> git.mxchange.org Git - friendica-addons.git/blobdiff - wppost/wppost.php
Merge pull request #415 from Hypolite/task/replace-explicit-php-logical-operators
[friendica-addons.git] / wppost / wppost.php
index 931b6d8188ca20e8dfe1b8fb2ba46328501c03ea..10437a06656e403e977a508011ccf56e3df2f714 100755 (executable)
@@ -257,7 +257,7 @@ function wppost_send(&$a,&$b) {
                                $title = html2plain(bbcode($title, false, false), 0, true)."\n";
                                $pos = strpos($title, "\n");
                                $trailer = "";
-                               if (($pos == 0) or ($pos > 100)) {
+                               if (($pos == 0) || ($pos > 100)) {
                                        $pos = 100;
                                        $trailer = "...";
                                }