File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 15
15
//recuperation de tous les flux
16
16
$ allFeeds = $ feedManager ->getFeedsPerFolder ();
17
17
$ tpl ->assign ('allFeeds ' ,$ allFeeds );
18
- $ scroll = isset ($ _ ['scroll ' ]) ? $ _ ['scroll ' ] : 0 ;
18
+ $ scroll = isset ($ _ ['scroll ' ]) ? ( int ) $ _ ['scroll ' ] : 0 ;
19
19
$ tpl ->assign ('scrollpage ' ,$ scroll );
20
20
// récupération des variables pour l'affichage
21
21
$ articleConf ['articlePerPages ' ] = (int ) $ configurationManager ->get ('articlePerPages ' );
47
47
if ($ articleDisplayAuthor ) $ target .= '` ' .MYSQL_PREFIX .'event`.`creator`, ' ;
48
48
$ target .= '` ' .MYSQL_PREFIX .'event`.`id` ' ;
49
49
50
- $ nblus = isset ($ _ ['nblus ' ]) ? $ _ ['nblus ' ] : 0 ;
50
+ $ nblus = isset ($ _ ['nblus ' ]) ? ( int ) $ _ ['nblus ' ] : 0 ;
51
51
$ articleConf ['startArticle ' ] = ($ scroll *$ articleConf ['articlePerPages ' ])-$ nblus ;
52
52
if ($ articleConf ['startArticle ' ] < 0 ) $ articleConf ['startArticle ' ]=0 ;
53
53
$ action = $ _ ['action ' ];
You can’t perform that action at this time.
0 commit comments