Fixed successful status issue for keep MP4

This commit is contained in:
Saqib Razzaq 2016-07-26 18:24:00 +05:00
parent 5417567a8d
commit 68f3edf011

View file

@ -202,6 +202,12 @@ class Upload{
$query_field[] = "date_added";
$query_val[] = now();
$config_for_mp4 = $Cbucket->configs['stay_mp4'];
if ($config_for_mp4 == 'yes') {
$query_field[] = "status";
$query_val[] = "Successful";
}
$query = "INSERT INTO ".tbl("video")." (";
$total_fields = count($query_field);