View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
06208Bug reportsOtherpublic2012-06-20 14:08
ReporterMazi Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92+ 
Target Version1.92+Fixed in Version1.92+ 
Summary06208: Adding user to user group leads to error message
Description

When adding a user top a user group there is a drop down "Please choose..." and a clickable "add user" button. If you just click the button without having selected a user, this results in the following error:

Fatal error: Cannot redeclare replacenewline() (previously declared in C:\xampp\htdocs\limesurvey\admin\html.php:2120) in C:\xampp\htdocs\limesurvey\admin\html.php on line 2131

Steps To Reproduce
  1. Add a user group.
  2. Go to "add/edit groups"
  3. Select the created group from the drop down top right.
  4. Click the "add user" button without having select a user from the drop down.
TagsNo tags attached.
Attached Files
adding_user.png (72,693 bytes)   
adding_user.png (72,693 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)120608
I will donate to the project if issue is resolvedNo
BrowserFirefox 12
Database type & versionMySQL 5
Server OS (if known)Windows 7
Webserver software & version (if known)Apache 2
PHP Version5.3.1

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2012-06-13 22:53

developer   ~19243

https://github.com/LimeSurvey/LimeSurvey/commit/b6ea136401b21e395d030f672406b4887800f5d6

DenisChenu

DenisChenu

2012-06-15 08:50

developer   ~19262

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8721

c_schmitz

c_schmitz

2012-06-20 14:08

administrator   ~19400

New 1.92+ version released.

Related Changesets

LimeSurvey: master b6ea1364

2012-06-13 07:04:44

DenisChenu

Details Diff
Fixed issue 06208 : Adding user to user group leads to error message
Dev : Cannot redeclare replacenewline was already fixed with 06201
Dev : replace sanitize_int by intval : need -1 for uid
Affected Issues
06201, 06208
mod - admin/userrighthandling.php Diff File

Issue History

Date Modified Username Field Change
2012-06-12 22:24 Mazi New Issue
2012-06-12 22:24 Mazi Status new => assigned
2012-06-12 22:24 Mazi Assigned To => DenisChenu
2012-06-12 22:24 Mazi File Added: adding_user.png
2012-06-13 22:53 DenisChenu Note Added: 19243
2012-06-13 22:53 DenisChenu Status assigned => resolved
2012-06-13 22:53 DenisChenu Fixed in Version => 1.92+
2012-06-13 22:53 DenisChenu Resolution open => fixed
2012-06-15 08:50 DenisChenu Changeset attached => LimeSurvey master b6ea1364
2012-06-15 08:50 DenisChenu Note Added: 19262
2012-06-20 14:08 c_schmitz Note Added: 19400
2012-06-20 14:08 c_schmitz Status resolved => closed