From 6dc08780fad335a2248a335ccfe023f10fa92078 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 7 Nov 2009 17:56:56 +0000 Subject: [PATCH] Yet another fix for missing 'def_refid' in install phase --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/functions.php b/inc/functions.php index c727a3bf64..29bbc8280e 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -3192,7 +3192,7 @@ function determineReferalId () { } // Is the record valid? - if (($found === false) || (!isUserDataValid())) { + if ((($found === false) || (!isUserDataValid())) && (isConfigEntrySet('def_refid'))) { // No, then reset referal id $GLOBALS['refid'] = getConfig('def_refid'); } // END - if -- 2.39.2