see #5124 Duplicate entry '1-1' for key 'PRIMARY'

skala
Laurent Opprecht 13 years ago
parent 77ea65fc2f
commit c631ea9c16
  1. 2
      main/install/update-db-1.8.8-1.9.0.inc.php

@ -284,7 +284,7 @@ if (defined('SYSTEM_INSTALLATION')) {
}
//Adding admin user in the access_url_rel_user table
$sql = "SELECT user_id FROM admin WHERE user_id = 1";
$sql = "SELECT user_id FROM admin WHERE user_id = 1 AND access_url_id = 1";
$result = iDatabase::query($sql);
if (Database::num_rows($result) == 0) {

Loading…
Cancel
Save