View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 05045 | Bug reports | Data Entry (non public) | public | 2011-03-20 14:02 | 2011-04-11 11:30 |
| Reporter | Assigned To | lemeur | |||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 1.91RC5 | ||||
| Fixed in Version | 1.91RC6 | ||||
| Summary | 05045: List survey publicly always set to "No" while creating survey | ||||
| Description | "List survey publicly:" is always set to No when a survey is created regardless of what is the value chosen at back-end. Editing survey settings although do update database. | ||||
| Steps To Reproduce |
Also, if you click on edit survey settings , "List survey publicly" will be set to No. | ||||
| Additional Information | When $action == 'insertsurvey' , than instead of setting 'listpublic' we are setting 'public' field which doesn't even exist. | ||||
| Tags | No tags attached. | ||||
| Attached Files | 05045_dev.patch (764 bytes)
Index: admin/database.php
===================================================================
--- admin/database.php (revision 9890)
+++ admin/database.php (working copy)
@@ -1371,7 +1371,7 @@
'printanswers'=>$_POST['printanswers'],
// 'usetokens'=>$_POST['usetokens'],
'datecreated'=>date("Y-m-d"),
- 'public'=>$_POST['public'],
+ 'listpublic'=>$_POST['public'],
'htmlemail'=>$_POST['htmlemail'],
'tokenanswerspersistence'=>$_POST['tokenanswerspersistence'],
'alloweditaftercompletion'=>$_POST['alloweditaftercompletion'],
| ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 9872 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Google Chrome, Mozilla Firefox, Microsoft IE | ||||
| Database type & version | MySQL(i) 5.1.37 | ||||
| Server OS (if known) | Windows 7 | ||||
| Webserver software & version (if known) | IIS 6.0 | ||||
| PHP Version | 5.2.13 | ||||
| Git branch / Pull Request URL | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-03-20 14:02 |
|
New Issue | |
| 2011-03-20 14:03 |
|
File Added: 05045_dev.patch | |
| 2011-03-21 00:28 | Mazi | Assigned To | => lemeur |
| 2011-03-21 00:28 | Mazi | Status | new => assigned |
| 2011-03-21 00:29 | Mazi | Note Added: 14481 | |
| 2011-03-22 21:00 | lemeur | Note Added: 14517 | |
| 2011-03-22 21:00 | lemeur | Status | assigned => resolved |
| 2011-03-22 21:00 | lemeur | Fixed in Version | => 1.91RC6 |
| 2011-03-22 21:00 | lemeur | Resolution | open => fixed |
| 2011-04-11 11:30 | c_schmitz | Note Added: 14765 | |
| 2011-04-11 11:30 | c_schmitz | Status | resolved => closed |