Skip to content
This repository
Browse code

Fix method name

  • Loading branch information...
commit eb5921f58139c983b146861866b304cd5fb28328 1 parent b9cdc5c
Sylvain Lorinet Divi authored
2  generator/lib/behavior/sluggable/SluggableBehavior.php
@@ -288,7 +288,7 @@ protected function makeSlugUnique(\$slug, \$separator = '" . $this->getParameter
288 288
289 289 \$count = " . $this->builder->getStubQueryBuilder()->getClassname() . "::create()
290 290 ->filterBySlug(\$this->$getter())
291   - ->findPks(\$this->getPrimaryKeys());
  291 + ->findPks(\$this->getPrimaryKey());
292 292
293 293 if (1 == \$count) {
294 294 return $getter();

0 comments on commit eb5921f

Please sign in to comment.
Something went wrong with that request. Please try again.