silverstripe-blog/code
3Dgoo 483a384fb1
Fixing non int pagination variable server error
If a user tries to paginate the blog using a value that is not an integer SilverStripe will throw a server error.

Example. Visiting `blog/?start=10.1` will cause the following server error:

```You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '10.1' at line 8```

This change casts the pagination variable to an int before using it.
2018-02-20 07:47:49 +10:30
..
admin Converted to PSR-2 2015-11-21 19:17:29 +13:00
compat BlogMigrationTask missing title and description 2017-03-15 14:31:18 +00:00
extensions Merge branch '2.4' into 2 2017-09-14 16:53:42 +12:00
forms Format dates in Blog Posts gridfield based on user preferences 2016-03-04 14:31:22 -05:00
model Fixing non int pagination variable server error 2018-02-20 07:47:49 +10:30
widgets FIX Archive widget shows months from posts published that day 2017-09-28 15:08:30 +13:00