zikula-modules / Clip

Flexible Document Creator
35 stars 8 forks source link

Update RandomListBlock.php #173

Closed trichers closed 9 years ago

trichers commented 9 years ago

If I want to show only ONE item, and I write in the block edit 1 as limit it saves always the number 3

cmfcmf commented 9 years ago

Hi @trichers, your changes aren't correct. You should rather change the > sign in both line 93 and 162 to >= and don't replace the 3 by 1. Could you try that instead please?

trichers commented 9 years ago

Thanks for the info. I´ve done it!

cmfcmf commented 9 years ago

And you don't need to change line 140 anymore, sorry that I forgot to tell.

trichers commented 9 years ago

ok, done