summaryrefslogtreecommitdiffstats
path: root/application/views/file
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@server-speed.net>2011-01-28 22:59:37 +0100
committerFlorian Pritz <bluewind@server-speed.net>2011-01-28 22:59:37 +0100
commit4cf80cd7cc9a8cdfb357e6fdca7ed4e05e806b31 (patch)
treec99eb39ce43c80032e4c3fabc9ddbaa3f7b9592a /application/views/file
parentce2b69675075444c9e40b72bcdd42ab7edbbe633 (diff)
fix checking for $msg variable before using
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
Diffstat (limited to 'application/views/file')
-rw-r--r--application/views/file/delete_form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/views/file/delete_form.php b/application/views/file/delete_form.php
index 7d4f2329f..b9819a7c5 100644
--- a/application/views/file/delete_form.php
+++ b/application/views/file/delete_form.php
@@ -1,7 +1,7 @@
<div style="text-align:center">
<?php echo form_open('file/delete/'.$id); ?>
<p>
- <?php if($msg) echo $msg."<br />"; ?>
+ <?php if(isset($msg)) echo $msg."<br />"; ?>
Password:<input type="password" name="password" size="10" />
<input type="submit" value="Delete" name="process" />
</p>