+ // Default without sql_patches
+ $entries = array('id','title','locked','hidden','admin_only','mem_only');
+
+ // Is ext-sql_patches newer or equal 0.3.6?
+ if (isExtensionInstalledAndNewer('sql_patches', '0.3.6')) {
+ // Add 'has_menu'
+ $entries[] = 'has_menu';
+ } // END - if
+