Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Version 0.3.0
[kiriwrite/.git] / cgi-files / lib / compile.lib
index acd7fbb..3b667dd 100644 (file)
@@ -212,8 +212,14 @@ sub kiriwrite_compile_makepages{
        # is "on" or blank and if it is something else then
        # return an error.
 
+       if (!$override){
+
+               $override = "off";
+
+       }
+
        if ($override eq "on"){
-       } elsif (!$override){
+       } elsif (!$override || $override eq "off"){
        } else {
 
                # The override value is invalid so return an error.
@@ -462,6 +468,17 @@ sub kiriwrite_compile_makepages{
 
                                        %filter_info = $kiriwrite_dbmodule->getfilterinfo({ FilterID => $filter, Reduced => 1 });
 
+                                       # Check if the filter is enabled and if it isn't then process
+                                       # the next filter.
+
+                                       if (!$filter_info{"FilterEnabled"}){
+
+                                               # The filter is not enabled so process the next filter.
+
+                                               next;
+
+                                       }
+
                                        # Check if any errors occured while getting the filter information.
 
                                        if ($kiriwrite_dbmodule->geterror eq "FilterDatabaseError"){
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy