1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-24 07:30:10 +01:00

4chan api: add missing tim field

This commit is contained in:
czaks 2013-12-28 22:24:54 +01:00
parent faaa0eab3a
commit 2664a84974

View File

@ -90,6 +90,8 @@ class Api {
$dotPos = strrpos($post->filename, '.');
$apiPost['filename'] = substr($post->filename, 0, $dotPos);
$apiPost['ext'] = substr($post->filename, $dotPos);
$dotPos = strrpos($post->file, '.');
$apiPost['tim'] = substr($post->file, 0, $dotPos);
}
// Handle country field