fix defined()
A little fix on defined function call
This commit is contained in:
parent
d7d5d00b78
commit
e3cb3401c1
@ -590,7 +590,7 @@ function amp_insert_link($actions) {
|
||||
global $ydb;
|
||||
|
||||
$keyword = $actions[2];
|
||||
$user = defined(YOURLS_USER) ? YOURLS_USER : NULL;
|
||||
$user = defined('YOURLS_USER') ? YOURLS_USER : NULL;
|
||||
$table = YOURLS_DB_TABLE_URL;
|
||||
|
||||
// Insert $keyword against $username
|
||||
|
Loading…
Reference in New Issue
Block a user