delete entries at list deletion !!!!
authorx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 15 Jul 2006 13:32:05 +0000 (13:32 +0000)
committerx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 15 Jul 2006 13:32:05 +0000 (13:32 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.10@495 839d8a87-29fc-0310-9880-83ba4fa771e5

htdocs/listes/delete.php

index ef747a9..5495bd5 100644 (file)
@@ -34,7 +34,7 @@ if ( Post::get('valid') == 'OUI' && $client->delete_list($liste, Post::getBool('
     foreach (array('', '-owner', '-admin', '-bounces') as $app) {
         $globals->xdb->execute("DELETE FROM  aliases
                                       WHERE  type='liste' AND alias='{?}'",
-                               $ml.$app);
+                               $liste.$app);
     }
     $page->assign('deleted', true);
 } elseif (list($details,$options) = $client->get_owner_options($liste)) {