Fix for double $$ (#5641)

* Fix for double $$

* And a second $$
This commit is contained in:
Michael Vogel 2018-08-20 07:54:26 +02:00 committed by Tobias Diekershoff
parent 15fb198109
commit 409e939fc4

View file

@ -71,7 +71,7 @@ function dfrn_notify_post(App $a) {
$user = DBA::selectFirst('user', ['uid'], ['nickname' => $a->argv[1]]);
if (!DBA::isResult($user)) {
logger('User not found for nickname ' . $$a->argv[1]);
logger('User not found for nickname ' . $a->argv[1]);
System::xmlExit(3, 'User not found');
}
@ -280,7 +280,7 @@ function dfrn_notify_content(App $a) {
$user = DBA::selectFirst('user', ['uid'], ['nickname' => $a->argv[1]]);
if (!DBA::isResult($user)) {
logger('User not found for nickname ' . $$a->argv[1]);
logger('User not found for nickname ' . $a->argv[1]);
killme();
}