Skip to content

Commit f18816e

Browse files
committed
Fixed the actual bug itself.
1 parent 68c9dad commit f18816e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/triagens/ArangoDb/AqlUserFunction.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ public function register($name = null, $code = null)
121121

122122

123123
if ($name) {
124-
$attributes['name'] = $this->getName();
124+
$attributes['name'] = $name;
125125
}
126126

127127
if ($code) {
128-
$attributes['code'] = $this->getCode();
128+
$attributes['code'] = $code;
129129
}
130130

131131
$response = $this->_connection->post(

0 commit comments

Comments
 (0)