Skip to content

Commit

Permalink
Update iframe_topic.php
Browse files Browse the repository at this point in the history
  • Loading branch information
heroesoebekti authored Sep 17, 2017
1 parent 7409ab1 commit 6c2a655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/modules/bibliography/iframe_topic.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function confirmProcess(int_biblio_id, int_item_id)
$biblio_topic_q = $dbs->query("SELECT bt.*, t.topic, t.topic_type FROM biblio_topic AS bt
LEFT JOIN mst_topic AS t ON bt.topic_id=t.topic_id
WHERE bt.biblio_id=$biblioID ORDER BY level ASC");

if($biblio_topic_q->num_rows > 0){
$row = 1;
while ($biblio_topic_d = $biblio_topic_q->fetch_assoc()) {
// alternate the row color
Expand All @@ -121,7 +121,7 @@ function confirmProcess(int_biblio_id, int_item_id)

$row++;
}

}
echo $table->printTable();
// hidden form
echo '<form name="hiddenActionForm" method="post" action="'.$_SERVER['PHP_SELF'].'"><input type="hidden" name="bid" value="0" /><input type="hidden" name="remove" value="0" /></form>';
Expand Down

0 comments on commit 6c2a655

Please sign in to comment.