-// Set empty mode to "select"
-if (!isGetRequestElementSet('mode')) setRequestGetElement('mode', "select");
+// 'mode' is not set by default
+if (!isGetRequestParameterSet('mode')) {
+ // Set empty mode to "select"
+ setGetRequestParameter('mode', 'select');
+} // END - if