Commit ad17c0ff authored by dheltzel's avatar dheltzel

fix to remove un-needed extra var assignment

parent c31dc355
<?php
// $Header: /cvsroot/tikiwiki/tiki/article_image.php,v 1.3 2003-08-07 04:33:56 rossta Exp $
// $Header: /cvsroot/tikiwiki/tiki/article_image.php,v 1.4 2003-11-11 21:27:21 dheltzel Exp $
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
# $Header: /cvsroot/tikiwiki/tiki/article_image.php,v 1.3 2003-08-07 04:33:56 rossta Exp $
# $Header: /cvsroot/tikiwiki/tiki/article_image.php,v 1.4 2003-11-11 21:27:21 dheltzel Exp $
// application to display an image from the database with
// option to resize the image dynamically creating a thumbnail on the fly.
......@@ -19,8 +19,8 @@ include_once ('lib/tikilib.php');
$tikilib = new Tikilib($dbTiki);
$data = $tikilib->get_article($_REQUEST["id"]);
$type = $data["image_type"];
$data = $data["image_data"];
//$data = $data["image_data"];
header ("Content-type: $type");
echo $data;
echo $data["image_data"];
?>
\ No newline at end of file
?>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment