diff --git a/include/functions.php b/include/functions.php index 97557ed95..da87588f0 100644 --- a/include/functions.php +++ b/include/functions.php @@ -153,7 +153,7 @@ require_once 'db-prefs.php'; require_once 'controls.php'; - define('SELF_USER_AGENT', 'Tiny Tiny RSS/' . VERSION . ' (http://tt-rss.org/)'); + define('SELF_USER_AGENT', 'Tiny Tiny RSS/' . get_version() . ' (http://tt-rss.org/)'); ini_set('user_agent', SELF_USER_AGENT); $schema_version = false;