From 2525dc5f9f7f8792c289bdf2abe6bd7269349c55 Mon Sep 17 00:00:00 2001 From: atomaka Date: Tue, 8 Nov 2011 19:09:24 -0500 Subject: [PATCH] Fix a bug where WxH was not displayed properly. --- application/controllers/view.php | 2 +- application/views/view.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/view.php b/application/controllers/view.php index ed23e25..cbb24ea 100644 --- a/application/controllers/view.php +++ b/application/controllers/view.php @@ -45,7 +45,7 @@ class View extends CI_Controller { $this->data['views'] = $display_views; $this->data['created'] = $upload->created; $this->data['height'] = $upload->height; - $this->data['width'] = $upload->height; + $this->data['width'] = $upload->width; $this->data['size'] = $upload->size; diff --git a/application/views/view.php b/application/views/view.php index 88889c6..7bd485e 100644 --- a/application/views/view.php +++ b/application/views/view.php @@ -31,5 +31,5 @@
Uploaded on:
Original name:
Views:
Dimensions:
Size:
-

x

kb
+


x
kb
\ No newline at end of file