Skip to content

Commit 46bb159

Browse files
authored
Merge pull request #2054 from joto/use-colon-syntax
Use colon syntax consistently when calling Lua functions on objects
2 parents 27d525b + b3109d9 commit 46bb159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flex-config/bbox.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ end
8282
-- Format the bounding box we get from calling get_bbox() on the parameter
8383
-- in the way needed for the PostgreSQL/PostGIS box2d type.
8484
local function format_bbox(object)
85-
local xmin, ymin, xmax, ymax = object.get_bbox()
85+
local xmin, ymin, xmax, ymax = object:get_bbox()
8686
if xmin == nil then
8787
return nil
8888
end

0 commit comments

Comments
 (0)