Ignore:
Timestamp:
10/03/2009 02:39:52 PM (3 years ago)
Author:
Acinonyx
Message:

[awmn] Add support for multiple-table deletes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/awmn/includes/pages/admin/admin_regions.php

    r198 r206  
    44 * 
    55 * Copyright (C) 2005 Nikolaos Nikalexis <winner@cube.gr> 
     6 * Copyright (C) 2009 Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> 
    67 *  
    78 * This program is free software; you can redistribute it and/or modify 
     
    7374                $ret = TRUE; 
    7475                foreach( (array) $_POST['id'] as $key => $value) { 
    75                         $ret = $ret && $db->del("regions", "id = '".$value."'"); 
     76                        $ret = $ret && $db->del("regions", '', "id = '".$value."'"); 
    7677                } 
    7778                if ($ret) { 
Note: See TracChangeset for help on using the changeset viewer.