Replace AND and OR in PHP conditions by && and ||
This commit is contained in:
@@ -51,7 +51,7 @@ function unavailable_networks() {
|
||||
$networks[] = NETWORK_APPNET;
|
||||
}
|
||||
|
||||
if (!plugin_enabled("fbpost") AND !plugin_enabled("facebook")) {
|
||||
if (!plugin_enabled("fbpost") && !plugin_enabled("facebook")) {
|
||||
$networks[] = NETWORK_FACEBOOK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user