@@ -36,7 +36,7 @@ function convert($url, $ext = 'mp4', $table = false, $id = false, $col = '')
if (Dever::is_file($file)) {
$url = $file;
- if ($table) {
+ if ($table && $file) {
Dever::db($table)->update(array('where_id' => $id, $col => $file));
}