Skip to content

Commit

Permalink
Getting ready for the Live Stream Multiple servers
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielnetoDotCom committed Jul 3, 2020
1 parent 546286b commit 3fe2fb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion objects/video.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ function save($updateVideoGroups = false, $allowOfflineUser = false) {
}
$insert_row = sqlDAL::writeSql($sql);
if ($insert_row) {
_error_log("Video::save ({$this->title}) Saved id = {$insert_row} ");
Category::clearCacheCount();
if (empty($this->id)) {
$id = $global['mysqli']->insert_id;
Expand Down Expand Up @@ -331,7 +332,7 @@ function save($updateVideoGroups = false, $allowOfflineUser = false) {
self::deleteThumbs($this->filename, true);
return $id;
} else {
_error_log($sql . ' Save Video Error : (' . $global['mysqli']->errno . ') ' . $global['mysqli']->error . " $sql");
_error_log('Video::save '.$sql . ' Save Video Error : (' . $global['mysqli']->errno . ') ' . $global['mysqli']->error . " $sql");
return false;
}
}
Expand Down

0 comments on commit 3fe2fb9

Please sign in to comment.