Skip to content

Commit

Permalink
Left join causes weird problems. Hat tip: John Potter.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.automattic.com/wordpress/trunk@2473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
matt committed Mar 22, 2005
1 parent 1828746 commit e27d276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-links-opml.php
Expand Up @@ -28,7 +28,7 @@
<body>
<?php $sql = "SELECT $wpdb->links.link_url, link_rss, $wpdb->links.link_name, $wpdb->links.link_category, $wpdb->linkcategories.cat_name, link_updated
FROM $wpdb->links
LEFT JOIN $wpdb->linkcategories on $wpdb->links.link_category = $wpdb->linkcategories.cat_id
JOIN $wpdb->linkcategories on $wpdb->links.link_category = $wpdb->linkcategories.cat_id
$sql_cat
ORDER BY $wpdb->linkcategories.cat_name, $wpdb->links.link_name \n";
//echo("<!-- $sql -->");
Expand Down

0 comments on commit e27d276

Please sign in to comment.