Skip to content

Commit

Permalink
Merge pull request #216
Browse files Browse the repository at this point in the history
dev
  • Loading branch information
leonardosahon authored Dec 7, 2024
2 parents 2a8e420 + 182d364 commit b5f5e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Libs/Abstract/TableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function record_by_id(string $id, bool $even_deleted = false) : array
public function new_record(array $columns) : bool {
self::init();

return self::orm(self::$table)->insert($columns);
return (bool) self::orm(self::$table)->insert($columns);
}

public function edit_record(string $job_id, array $columns, ?string $updated_by = null) : bool
Expand Down

0 comments on commit b5f5e41

Please sign in to comment.