milesj / utility

[Deprecated] A CakePHP plugin for common utility classes.
MIT License
69 stars 24 forks source link

Fix uniques in Sluggable #7

Closed idev247 closed 11 years ago

idev247 commented 11 years ago

In the _makeUnique function the unique count is being added to the end of the string. The condition now matchs this behaviour.

milesj commented 11 years ago

Nice catch! Can't believe I let that one slip by.

dereuromark commented 11 years ago

I wonder why there are no test cases for your plugin so far

milesj commented 11 years ago

Mainly because I dislike cakes testing framework. I'm too busy to setup tests for it so I mainly test as I go, which has worked out fine for the most part.