mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-29 09:44:28 +01:00
4chan api: add missing tim
field
This commit is contained in:
parent
47bcb092f8
commit
12b79249ed
@ -90,6 +90,8 @@ class Api {
|
|||||||
$dotPos = strrpos($post->filename, '.');
|
$dotPos = strrpos($post->filename, '.');
|
||||||
$apiPost['filename'] = substr($post->filename, 0, $dotPos);
|
$apiPost['filename'] = substr($post->filename, 0, $dotPos);
|
||||||
$apiPost['ext'] = substr($post->filename, $dotPos);
|
$apiPost['ext'] = substr($post->filename, $dotPos);
|
||||||
|
$dotPos = strrpos($post->file, '.');
|
||||||
|
$apiPost['tim'] = substr($post->file, 0, $dotPos);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handle country field
|
// Handle country field
|
||||||
|
Loading…
Reference in New Issue
Block a user