Replace and/AND and or/OR by && and ||

This commit is contained in:
Hypolite Petovan 2017-06-08 21:20:27 -04:00
parent 844de15593
commit 8fa3f2415a
23 changed files with 268 additions and 269 deletions

View file

@ -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 = "...";
}