Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
kiriwrite
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 0.3.0
[kiriwrite/.git]
/
cgi-files
/
lib
/
compile.lib
diff --git
a/cgi-files/lib/compile.lib
b/cgi-files/lib/compile.lib
index
acd7fbb
..
3b667dd
100644
(file)
--- a/
cgi-files/lib/compile.lib
+++ b/
cgi-files/lib/compile.lib
@@
-212,8
+212,14
@@
sub kiriwrite_compile_makepages{
# is "on" or blank and if it is something else then
# return an error.
# is "on" or blank and if it is something else then
# return an error.
+ if (!$override){
+
+ $override = "off";
+
+ }
+
if ($override eq "on"){
if ($override eq "on"){
- } elsif (!$override){
+ } elsif (!$override
|| $override eq "off"
){
} else {
# The override value is invalid so return an error.
} 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 });
%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"){
# Check if any errors occured while getting the filter information.
if ($kiriwrite_dbmodule->geterror eq "FilterDatabaseError"){
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy