Skip to content

Commit 031031e

Browse files
Merge branch 'master' of github.com:techjoomla/TJ-Notifications into release-3.0.4
2 parents 6c17b56 + 07193cc commit 031031e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ Joomla Developers are encouraged to use this to offer better control as well as
66
## Technical Docs
77
- [Integrating with extensions](https://github.com/techjoomla/TJ-Notifications/wiki/integrating-with-extensions)
88
- [Database Design](https://github.com/techjoomla/TJ-Notifications/wiki/database-schema)
9+
10+
## Admin Video
11+
[notifications.webm](https://user-images.githubusercontent.com/673176/216540025-8d35b496-495b-43dc-bfea-8fbc646fd911.webm)

src/com_tjnotifications/admin/models/notifications.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ protected function populateState($ordering = 'id', $direction = 'asc')
8989
$limitstart = $app->input->get('limitstart', 0, 'int');
9090

9191
// In case limit has been changed, adjust it
92-
$limitstart = ($limit !== 0 ? (floor($limitstart / $limit) * $limit) : 0);
92+
$limitstart = ((int)$limit !== 0 ? (floor($limitstart / $limit) * $limit) : 0);
9393

9494
$this->setState('list.limit', $limit);
9595
$this->setState('list.start', $limitstart);

0 commit comments

Comments
 (0)