Browse Source

Fixing autocomplete typo

Jose Lorenzo Rodriguez 10 years ago
parent
commit
327a284f0d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ORM/Association/BelongsTo.php

+ 1 - 1
src/ORM/Association/BelongsTo.php

@@ -193,7 +193,7 @@ class BelongsTo extends Association
         $links = [];
         $name = $this->alias();
 
-        foreach ((array)$this->bindin as $key) {
+        foreach ((array)$this->bindingKey() as $key) {
             $links[] = sprintf('%s.%s', $name, $key);
         }