View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
03900Bug reportsData Entry (non public)public2009-11-25 21:57
Reporteruser5628Assigned Touser372 
PrioritynormalSeverityminor 
Status closedResolutionunable to reproduce 
Product Version1.86 
Summary03900: check variable
Description

Sorry for my bad english (french user)

When you click on token from list of survey, there'is no variable $_GET['limit'], $_GET['order'], $_GET['start'] on admin/tokens.php line 1947

."\t\t<input type='hidden' name='urlextra' value='&start=".$_GET['start']."&limit=".$_GET['limit']."&order=".$_GET['order']."' />\n";

=> Error notice on PHP (php 5.2.10)

It's need to validate GET values

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)7697
I will donate to the project if issue is resolved
BrowserFirefox 3.5
Database type & versionMysql 5
Server OS (if known)GNU/Linux
Webserver software & version (if known)Apache
PHP Version5.2.10

Users monitoring this issue

There are no users monitoring this issue.

Activities

user372

2009-11-25 18:08

  ~10258

1) Which error notice do you get exactly?
2) Can you add a screenshot, where I can see what you actually want to do?

user5628

2009-11-25 20:18

  ~10259

It's only when I click on token id from survey listing page.

Notice: Undefined index: start in /home//www//www/enquetes/admin/tokens.php on line 1947

Notice: Undefined index: limit in /home/*/www/**/www/enquetes/admin/tokens.php on line 1947

Notice: Undefined index: order in /home//www//www/enquetes/admin/tokens.php on line 1947

You need screenshots ?

my ugly workarround :

if(empty($_GET['start'])) {
    $get_start = null;
} else {
    $get_start = $_GET['start'];
}    
if(empty($_GET['limit'])) {
    $get_limit = null;
} else {
    $get_limit = $_GET['limit'];
}    
if(empty($_GET['order'])) {
    $get_order = null;
} else {
    $get_order = $_GET['order'];
}  

AND

."\t\t<input type='hidden' name='urlextra' value='&start=".$get_start."&limit=".$get_limit."&order=".$get_order."' />\n";

user372

2009-11-25 21:57

  ~10260

I can't reproduce the issue on the latest development build, therefore I wanted the screenshot just to be sure that this issue has already been fixed in the meantime.
I'll close that ticket for now - please upgrade to v1.87RC3, which will be released until saturday and feel free to reopen this issue, if you still can reproduce this issue afterwards.

Issue History

Date Modified Username Field Change
2009-11-25 15:26 user5628 New Issue
2009-11-25 15:26 user5628 Status new => assigned
2009-11-25 15:26 user5628 Assigned To => user372
2009-11-25 15:26 user5628 LimeSurvey build number => 7697
2009-11-25 15:26 user5628 Browser => Firefox 3.5
2009-11-25 15:26 user5628 Database & DB-Version => Mysql 5
2009-11-25 15:26 user5628 Operating System (Server) => GNU/Linux
2009-11-25 15:26 user5628 Webserver => Apache
2009-11-25 15:26 user5628 PHP Version => 5.2.10
2009-11-25 18:08 user372 Note Added: 10258
2009-11-25 18:08 user372 Status assigned => feedback
2009-11-25 20:18 user5628 Note Added: 10259
2009-11-25 21:57 user372 Note Added: 10260
2009-11-25 21:57 user372 Status feedback => closed
2009-11-25 21:57 user372 Resolution open => unable to reproduce