Hello

The changing of the destination in "edit e-mail addresses" does not work with the latest svn version.

With this patch in editmail.php it works as expected.

--- orig-svn/editemail.php      2006-07-27 08:39:18.000000000 +0200
+++ /srv/www/htdocs/web-svn/editemail.php       2006-07-27 12:25:19.000000000 
+0200
@@ -31,9 +31,9 @@

                        if (! empty($confirmed)){
                                if ($freeaddress!="YES") {
- $query = "UPDATE virtual SET alias='[EMAIL PROTECTED]', dest='$dest' WHERE alias='$alias'"; + $query = "UPDATE virtual SET alias='[EMAIL PROTECTED]', dest='$newdest' WHERE alias='$alias'";
                                } else {
- $query = "UPDATE virtual SET alias='$newalias', dest='$dest' WHERE alias='$alias'"; + $query = "UPDATE virtual SET alias='$newalias', dest='$newdest' WHERE alias='$alias'";
                                }
                                $handle = DB::connect($DB['DSN'], true);
                                if (DB::isError($handle)) {
@@ -118,7 +118,7 @@
                                                        <td>
                                                                <input 
class="inputfield"
                                                                type="text" 
size="30"
-                                                               name="dest" value="<?php 
echo $dest;?>">
+                                                               name="newdest" 
value="<?php echo $dest;?>">
                                                        </td>
                                                </tr>


Regards

Andreas

_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to