-if (!REQUEST_ISSET_GET(('page'))) REQUEST_GET('page') = "1";
-if (!REQUEST_ISSET_GET(('offset'))) REQUEST_SET_GET('offset', getConfig('mails_page'));
+if (!REQUEST_ISSET_GET('page')) REQUEST_SET_GET('page', "1");
+
+if (!REQUEST_ISSET_GET('offset')) {
+ if (isConfigEntrySet('mails_page')) {
+ // Set config entry
+ REQUEST_SET_GET('offset', getConfig('mails_page'));
+ } else {
+ // Set default one
+ REQUEST_SET_GET('offset', 10);
+ }
+} // END - if