projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77b8287
)
Fix readonly check
author
Jamie Cameron
<jcameron@webmin.com>
Sat, 13 Jun 2009 16:28:53 +0000
(16:28 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sat, 13 Jun 2009 16:28:53 +0000
(16:28 +0000)
web-lib-funcs.pl
patch
|
blob
|
history
diff --git
a/web-lib-funcs.pl
b/web-lib-funcs.pl
index
b80b833
..
31a4039
100755
(executable)
--- a/
web-lib-funcs.pl
+++ b/
web-lib-funcs.pl
@@
-2888,8
+2888,7
@@
if (&get_product_name() eq "webmin") {
# Check readonly support
if (&is_readonly_mode()) {
- my %this_module_info = &get_module_info(&get_module_name());
- return 0 if (!$this_module_info{'readonly'});
+ return 0 if (!$foreign_module_info{'readonly'});
}
# Check if theme vetos