Changeset 77850f0


Ignore:
Timestamp:
03/06/2011 18:44:07 (11 years ago)
Author:
Eric van der Vlist <vdv@dyomedea.com>
Branches:
master
Children:
53f84f8
Parents:
68b2159
git-author:
Eric van der Vlist <vdv@dyomedea.com> (03/06/2011 18:44:07)
git-committer:
Eric van der Vlist <vdv@dyomedea.com> (03/06/2011 18:44:07)
Message:

Changing table name in select queries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wordpress/plugins/owark/owark.php

    r68b2159 r77850f0  
    147147 
    148148            $query = "SELECT owark.id, owark.url, owark.status, owark.arc_date, owark.arc_location, blc_links.status_text 
    149                         FROM {$wpdb->prefix}perwac AS owark, {$wpdb->prefix}blc_links as blc_links 
     149                        FROM {$wpdb->prefix}owark AS owark, {$wpdb->prefix}blc_links as blc_links 
    150150                        WHERE owark.url = blc_links.final_url COLLATE latin1_swedish_ci and blc_links.broken = 1 
    151151                        ORDER BY owark.url"; 
     
    281281                    FROM {$wpdb->prefix}blc_instances AS instances, 
    282282                        {$wpdb->prefix}blc_links AS links, 
    283                         {$wpdb->prefix}perwac AS owark 
     283                        {$wpdb->prefix}owark AS owark 
    284284                    WHERE 
    285285                        instances.link_id = links.link_id 
     
    341341 
    342342            $query = "SELECT * 
    343                         from {$wpdb->prefix}perwac AS owark 
     343                        from {$wpdb->prefix}owark AS owark 
    344344                        where id = {$id}"; 
    345345            $link = $wpdb->get_row($query); 
Note: See TracChangeset for help on using the changeset viewer.