Hi there,
we noticed that the welcomeModal intended for first time users is not being displayed (\application\views\admin\super\welcome.php) in our upgraded installation (3.14.2+180807).
Diggin into it we came to the following:
If it is displayed depends on
Code:
if($countSurveyList==0 && Permission::model()->hasGlobalPermission('surveys','create')
If you check the definition of the variable $countSurveyList you find that in \application\controllers\admin\index.php
it is defined as
Code:
$aData['countSurveyList'] = Survey::model()->count();
(counting all surveys of the installation) whereas it used to be
Code:
$aData['countSurveyList'] = count(getSurveyList(true));
(all surveys owned by currently logged in user) which still works if it is changed back to that.
Is this a bug or are we missing something? It does not make sense to use the number of all available surveys here, right?
Stefan