Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Another assignment/equivalence test fix (it's those mysql_fetch_assoc…
… if clauses...)
  • Loading branch information
egonw committed Mar 14, 2012
1 parent 585c6aa commit 370254e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion targets.php
Expand Up @@ -19,7 +19,7 @@
while ($row = mysql_fetch_assoc($allIDs)) {
$target = $TRG . "t" . $row['tid'];
echo triple( $target, $RDF . "type", $ONTO . "Target" );
if ($row['target_type'] = 'PROTEIN') {
if ($row['target_type'] == 'PROTEIN') {
echo triple( $target, $RDFS . "subClassOf", $PRO . "PR_000000001" );
} else {
echo triple( $target, $ONTO . "hasTargetType", $TGT . $row['target_type'] );
Expand Down

0 comments on commit 370254e

Please sign in to comment.