View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 05745 | Bug reports | Survey taking | public | 2012-02-01 21:54 | 2012-03-11 16:32 |
| Reporter | Assigned To | ||||
| Priority | high | Severity | partial_block | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.00a1 | ||||
| Fixed in Version | 2.00a2 | ||||
| Summary | 05745: function db_quote doesn't exist | ||||
| Description | There is an other function db_quote raises a doesn't exist error in common_helper.php | ||||
| Steps To Reproduce | By completing a survey | ||||
| Tags | No tags attached. | ||||
| Attached Files | common_helper.php.diff (969 bytes)
Index: helpers/common_helper.php
===================================================================
--- helpers/common_helper.php (revision 12258)
+++ helpers/common_helper.php (working copy)
@@ -5899,7 +5899,7 @@
if (strcmp($urldescription,$qentry['quotals_urldescrip']) !=0 || (strcmp($endurl,$qentry['quotals_url']) !=0))
{
// Update Field
- $sqlupdate = "UPDATE {{quota_languagesettings}} SET quotals_urldescrip='".db_quote($urldescription)."', quotals_url='".db_quote($endurl)."' WHERE quotals_id={$qentry['quotals_id']}";
+ $sqlupdate = "UPDATE {{quota_languagesettings}} SET quotals_urldescrip='".($urldescription)."', quotals_url='".$endurl."' WHERE quotals_id={$qentry['quotals_id']}";
$updateres=dbExecuteAssoc($sqlupdate) or safeDie ("Couldn't update INSERTANS in quota_languagesettings<br />$sqlupdate<br />"); //Checked
} // Enf if modified
} // end while qentry
| ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 2 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | firefox | ||||
| Database type & version | Mysql | ||||
| Server OS (if known) | mac os x | ||||
| Webserver software & version (if known) | apache | ||||
| PHP Version | 5.3 | ||||
| Git branch / Pull Request URL | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-02-01 21:54 |
|
New Issue | |
| 2012-02-01 21:54 |
|
File Added: common_helper.php.diff | |
| 2012-02-02 19:06 | c_schmitz | Assigned To | => magiclko |
| 2012-02-02 19:06 | c_schmitz | Status | new => assigned |
| 2012-02-03 19:55 |
|
Note Added: 17215 | |
| 2012-02-03 19:55 |
|
Status | assigned => resolved |
| 2012-02-03 19:55 |
|
Fixed in Version | => 2.00a2 |
| 2012-02-03 19:55 |
|
Resolution | open => fixed |
| 2012-03-11 16:32 | c_schmitz | Note Added: 17860 | |
| 2012-03-11 16:32 | c_schmitz | Status | resolved => closed |