SF.net SVN: postfixadmin:[459] trunk/functions.inc.php
Brought to you by:
christian_boltz,
gingerdog
|
From: <Gin...@us...> - 2008-09-04 12:46:52
|
Revision: 459
http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=459&view=rev
Author: GingerDog
Date: 2008-09-04 12:47:02 +0000 (Thu, 04 Sep 2008)
Log Message:
-----------
functions.inc.php: fix alias creation - 0 & -1 confusion again
Modified Paths:
--------------
trunk/functions.inc.php
Modified: trunk/functions.inc.php
===================================================================
--- trunk/functions.inc.php 2008-09-03 08:45:34 UTC (rev 458)
+++ trunk/functions.inc.php 2008-09-04 12:47:02 UTC (rev 459)
@@ -609,11 +609,12 @@
$limit = get_domain_properties ($domain);
if ($limit['aliases'] == 0)
{
- return false;
+ # 0 = unlimited, -1 = disabled
+ return true;
}
if ($limit['aliases'] < 0)
{
- return true;
+ return false;
}
if ($limit['alias_count'] >= $limit['aliases'])
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|