$this->rep_popup = $user["rep_popup"];
$this->query_size = $user["query_size"];
$this->graphic_links = $user["graphic_links"];
- $this->sticky_date = $user["sticky_doc_date"];
- $this->startup_tab = $user['startup_tab'];
+ if (isset($user["sticky_doc_date"]))
+ {
+ $this->sticky_date = $user["sticky_doc_date"];
+ $this->startup_tab = $user['startup_tab'];
+ }
+ else
+ {
+ $this->sticky_date = 0;
+ $this->startup_tab = "orders";
+ }
}
}
process earlier). </li>
</ol>
</li><li><strong>When
-updating release 2.1.X to release 2.2.X, you must immediately
+updating release 2.1.X to release 2.2.X, you should first restore
+your $security_headers and $security_groups from your old config.php
+file, alternative unmark them in the new config.php. There is a new
+access_level system in 2.2.</strong></li><li><strong>Then you must immediately
login on company 0, the first company you created, as admin
(called the superadmin). If you use a theme other than the standard 3,
aqua, cool or default, switch to one of these before going further. You
to the 'Setup' tab and run 'Software
Upgrade'.
Mark the checkbox 'Install' and press 'Upgrade System'. This will
-upgrade ALL your companies.</strong></li><li style="font-weight: bold;">If something goes wrong during upgrade, you can enter here again and try 'Force Upgrade', and press 'Upgrade System' again.</li><li><strong style="font-weight: bold;"></strong><strong>There are no database changes during a major and minor release. Like from 2.2 to 2.2.1 - 2.2.X .</strong></li><li style="font-weight: bold;">Enter
+upgrade ALL your companies.</strong></li><li style="font-weight: bold;">If something goes wrong during upgrade, you can enter here again and try 'Force Upgrade', and press 'Upgrade System' again.</li><li style="font-weight: bold;">Now you should comment your old $securityheaders and $security_groups.</li><li><strong style="font-weight: bold;"></strong><strong>There are no database changes during a major and minor release. Like from 2.2 to 2.2.1 - 2.2.X .</strong></li><li style="font-weight: bold;">Enter
'Setup' tab, 'System and Generel GL Setup'. Set the correct
Accounts for Retained Earnings, Profit/Loss Year and Bank Charge.</li><li style="font-weight: bold;">Enter
'Setup' tab, 'Access Setup'. Check all the roles and change as you