We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe5c8a1 commit e579155Copy full SHA for e579155
controller/main.php
@@ -273,7 +273,7 @@ private function display_pb()
273
274
$filedata = $this->request->file('fileupload');
275
276
- if (!empty($this->request->file('fileupload')) && $filedata['name'] != 'none' && trim($filedata['name']))
+ if (!empty($filedata) && $filedata['name'] != 'none' && trim($filedata['name']))
277
{
278
$upload = $this->factory->get('files.upload');
279
functions/pastebin.php
@@ -253,6 +253,6 @@ function offsetSet($offset, $value)
253
254
function offsetUnset($offset)
255
256
-
+ // still needed, even if empty
257
}
258
0 commit comments