summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-06-12 09:57:23 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-06-12 09:57:23 +0200
commitf4c8edeb04b7c1d72058066f36aa432604a277c7 (patch)
tree5d4d3a4c3dc0ea6ac1787437ace646f794b7a0ee /application/controllers
parent3e5880fd1d0da03c57019c55de5d9877b4d13720 (diff)
fix missing negation in delete
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index c84620d4f..a3156eb4b 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -399,7 +399,7 @@ class File extends CI_Controller {
{
$this->muser->require_access();
- if (is_cli_client()) {
+ if (!is_cli_client()) {
echo "Not a listed cli client, please use the history to delete uploads.\n";
return;
}