diff --git a/authMgrPlus/plugin.php b/authMgrPlus/plugin.php index 6ca8e80..623e1cd 100644 --- a/authMgrPlus/plugin.php +++ b/authMgrPlus/plugin.php @@ -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