mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-12 09:13:07 +01:00
Merge pull request #728 from vichan-devel/RealAngeleno-patch-5
bugfix for ban appeals page
This commit is contained in:
commit
7025035376
@ -356,10 +356,17 @@ class Post {
|
|||||||
unset($this->files[$i]);
|
unset($this->files[$i]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!isset($file->hash))
|
if (is_array($file)) {
|
||||||
|
if (!isset($file['hash'])) {
|
||||||
|
$file['hash'] = $this->filehash;
|
||||||
|
}
|
||||||
|
} else if (is_object($file)) {
|
||||||
|
if (!isset($file->hash)) {
|
||||||
$file->hash = $this->filehash;
|
$file->hash = $this->filehash;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$this->subject = utf8tohtml($this->subject);
|
$this->subject = utf8tohtml($this->subject);
|
||||||
$this->name = utf8tohtml($this->name);
|
$this->name = utf8tohtml($this->name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user