sforkowany z mirror/friendica
don't invoke slap if there's no endpoint configured
rodzic
f1630780e9
commit
6a3815e751
|
@ -181,8 +181,11 @@ function follow_post(&$a) {
|
|||
intval(local_user())
|
||||
);
|
||||
|
||||
require_once('include/salmon.php');
|
||||
slapper($r[0],$contact['notify'],$slap);
|
||||
|
||||
if((x($contact,'notify')) && (strlen($contact['notify']))) {
|
||||
require_once('include/salmon.php');
|
||||
slapper($r[0],$contact['notify'],$slap);
|
||||
}
|
||||
|
||||
goaway($_SESSION['return_url']);
|
||||
// NOTREACHED
|
||||
|
|
Ładowanie…
Reference in New Issue