Skip to content

Commit

Permalink
Add a condition on agreeDev display message
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Sep 28, 2017
1 parent f2d75e7 commit 8d30fc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install/update.php
Expand Up @@ -536,7 +536,9 @@ function updateTreeDropdown() {
echo "<h3><span class='migred'>".sprintf(__('Caution! You will update the GLPI database named: %s'), $DB->dbdefault) ."</h3>";

echo "<form action='update.php' method='post'>";
echo Config::agreeDevMessage();
if (strlen(GLPI_SCHEMA_VERSION) > 40) {
echo Config::agreeDevMessage();
}
echo "<input type='submit' class='submit' name='continuer' value=\"".__('Continue')."\">";
Html::closeForm();
echo "</div>";
Expand Down

0 comments on commit 8d30fc2

Please sign in to comment.