diff --git a/docs/manual/mod/mod_lua.xml b/docs/manual/mod/mod_lua.xml index 8b0c19c7a2..c0e2f11acf 100644 --- a/docs/manual/mod/mod_lua.xml +++ b/docs/manual/mod/mod_lua.xml @@ -898,7 +898,7 @@ end

The example below shows how to acquire a database handle and return information from a table:

-function handler(r) +function handle(r) -- Acquire a database handle local database, err = r:dbacquire("mysql", "server=localhost,user=root,dbname=mydb") if not err then