From 27a0b11a8242aac35fd2b6e90690ac18170e5c52 Mon Sep 17 00:00:00 2001 From: ozhozh Date: Thu, 17 Sep 2009 11:21:59 +0000 Subject: [PATCH] Fix error in install check git-svn-id: http://yourls.googlecode.com/svn/trunk@169 12232710-3e20-11de-b438-597f59cd7555 --- includes/functions-install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions-install.php b/includes/functions-install.php index bb6e7d0..039890e 100644 --- a/includes/functions-install.php +++ b/includes/functions-install.php @@ -8,7 +8,7 @@ function yourls_is_installed() { if( YOURLS_VERSION == '1.3-RC1' ) { $is_installed = $ydb->get_var('SELECT next_id FROM '.YOURLS_DB_TABLE_NEXTDEC); } else { - $is_installed = yourls_get_option( 'YOURLS_VERSION' ); + $is_installed = yourls_get_option( 'version' ); } } return (bool)$is_installed; -- 2.45.0