Skip to content

Commit

Permalink
Ollaan PHP 5.3-yhteensopivia
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommi Järvinen committed Sep 28, 2016
1 parent 8cb0c35 commit 950248d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tuote.php
Original file line number Diff line number Diff line change
Expand Up @@ -2327,7 +2327,8 @@ function lataaiframe(tunnus, url) {
echo "<td>$tuoterow[hinnastoon]<br>";

if ($tuoterow["status"] == "P") echo "<font class='error'>";
echo product_statuses()[$tuoterow["status"]];
$product_statuses = product_statuses();
echo $product_statuses[$tuoterow["status"]];
if ($tuoterow["status"] == "P") echo "</font>";

echo "</td>";
Expand Down

0 comments on commit 950248d

Please sign in to comment.