Skip to content

Commit

Permalink
It's the node table, not the nid table.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdboyer committed Feb 17, 2011
1 parent 7201c6e commit 2a047a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db-migrate-stage1.drush.php
Expand Up @@ -16,7 +16,7 @@
exit(1);
}

$result = db_query('SELECT p.nid, p.uri, c.directory, n.status FROM {project_projects} AS p INNER JOIN {cvs_projects} AS c ON p.nid = c.nid INNER JOIN {nid} AS n ON p.nid = n.nid');
$result = db_query('SELECT p.nid, p.uri, c.directory, n.status FROM {project_projects} AS p INNER JOIN {cvs_projects} AS c ON p.nid = c.nid INNER JOIN {node} AS n ON p.nid = n.nid');

$projects = array();
while ($row = db_fetch_object($result)) {
Expand Down

0 comments on commit 2a047a0

Please sign in to comment.