Skip to content

Commit b3109d9

Browse files
committed
Use colon syntax consistently when calling Lua functions on objects
1 parent 368d67d commit b3109d9

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)