Replace AND and OR in PHP conditions by && and ||
This commit is contained in:
@@ -212,7 +212,7 @@ function html2plain($html, $wraplength = 75, $compact = false)
|
||||
|
||||
$message = html_entity_decode($message, ENT_QUOTES, 'UTF-8');
|
||||
|
||||
if (!$compact AND ($message != "")) {
|
||||
if (!$compact && ($message != "")) {
|
||||
$counter = 1;
|
||||
foreach ($urls as $id=>$url)
|
||||
if ($url != "")
|
||||
|
||||
Reference in New Issue
Block a user