This commit has been accessed 577 times via Git panel.
commit 2cfcb3688ef2b1e5d39cc2ac1fb14d374edb0847
tree d82e393fc0611b550b6028375377f83a5eaa24a6
parent 5affc2b2cbef276abaca121ee8fb529e6da93453
author Engels Antonio <engels@majcms.org> 1340477104 +0800
committer Engels Antonio <engels@majcms.org> 1340477104 +0800
Fix unlimited quota setting in kartero_dovecot_quota()
diff --git a/core.php b/core.php
index 587455b..994a6bb 100644
--- a/core.php
+++ b/core.php
@@ -384,7 +384,7 @@ function kartero_dovecot_quota($quota) {
$prefix = "";
- if (empty($quota)) {
+ if (strlen($quota) == 0) {
$quota = "";
}
else {
tree d82e393fc0611b550b6028375377f83a5eaa24a6
parent 5affc2b2cbef276abaca121ee8fb529e6da93453
author Engels Antonio <engels@majcms.org> 1340477104 +0800
committer Engels Antonio <engels@majcms.org> 1340477104 +0800
Fix unlimited quota setting in kartero_dovecot_quota()
diff --git a/core.php b/core.php
index 587455b..994a6bb 100644
--- a/core.php
+++ b/core.php
@@ -384,7 +384,7 @@ function kartero_dovecot_quota($quota) {
$prefix = "";
- if (empty($quota)) {
+ if (strlen($quota) == 0) {
$quota = "";
}
else {