diff --git a/SqlBuilder.php b/SqlBuilder.php index a95b45b..3f598a5 100644 --- a/SqlBuilder.php +++ b/SqlBuilder.php @@ -460,7 +460,7 @@ class SqlBuilder extends Component { $from = $this->query->from; if ($insert) { - return ''; + return $from; } if ($this->query->alias !== '' && $this->query->alias !== '0') {