[PATCH] fix nacho modify-list

[prev] [thread] [next] [lurker] [Date index for 2003/11/03]

From: Ilya Martynov
Subject: [PATCH] fix nacho modify-list
Date: 15:54 on 03 Nov 2003
Currently nacho modify-list doesn't work

ilya@juil:~/tmp/siesta-20031016-1418$ nacho modify-list list return_path  list-bounce@juil
Property 'return_path' set to 'list-bounce@juil' for the list list
Siesta::List Siesta::List=HASH(0x88150a4) destroyed without saving changes to return_path at /home/ilya/perl-current/bin/nacho line 776

See patch below my sig

-- 
Ilya Martynov,  ilya@xxxxxxx.xxx
CTO IPonWEB (UK) Ltd
Quality Perl Programming and Unix Support
UK managed @ offshore prices - http://www.iponweb.net
Personal website - http://martynov.org

--- bin/nacho-orig	Mon Nov  3 18:47:16 2003
+++ bin/nacho	Mon Nov  3 18:48:01 2003
@@ -212,6 +212,7 @@
         (join "\n",$list->columns),"\n" unless $fields{$key};
 
     $list->$key($value);
+    $list->update;
     print "Property '$key' set to '$value' for the list $list_id\n";
 };
 

Generated at 13:56 on 01 Jul 2004 by mariachi 0.52