Skip to content
Snippets Groups Projects
Commit 80072e51 authored by Jared Hancock's avatar Jared Hancock
Browse files

profile: Fix warning for page refresh setting

parent fd5bdb66
No related branches found
No related tags found
No related merge requests found
......@@ -157,10 +157,8 @@ if(!defined('OSTSTAFFINC') || !$staff || !$thisstaff) die('Access Denied');
$y=1;
for($i=1; $i <=30; $i+=$y) {
$sel=($staff->auto_refresh_rate==$i)?'selected="selected"':'';
echo sprintf('<option value="%1$d" %2$s>'
.sprintf(
_N('Every minute', 'Every %d minutes', $i), $i)
.'</option>',$i,$sel);
echo sprintf('<option value="%d" %s>%s</option>', $i, $sel,
sprintf(_N('Every minute', 'Every %d minutes', $i), $i));
if($i>9)
$y=2;
} ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment