Permalink
Browse files

Fix method name

  • Loading branch information...
1 parent b9cdc5c commit eb5921f58139c983b146861866b304cd5fb28328 @Divi Divi committed Aug 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 generator/lib/behavior/sluggable/SluggableBehavior.php
View
2 generator/lib/behavior/sluggable/SluggableBehavior.php
@@ -288,7 +288,7 @@ protected function makeSlugUnique(\$slug, \$separator = '" . $this->getParameter
\$count = " . $this->builder->getStubQueryBuilder()->getClassname() . "::create()
->filterBySlug(\$this->$getter())
- ->findPks(\$this->getPrimaryKeys());
+ ->findPks(\$this->getPrimaryKey());
if (1 == \$count) {
return $getter();

0 comments on commit eb5921f

Please sign in to comment.