Anonymous | Login | Signup for a new account | 2021-01-27 20:51 GMT | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001702 | SiT! | other | public | 2011-08-26 16:51 | 2011-09-04 20:45 | ||||
Reporter | ivan | ||||||||
Assigned To | paulh | ||||||||
Priority | normal | Severity | tweak | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 3.63p1 | ||||||||
Target Version | 3.65 LTS | Fixed in Version | 3.65 LTS | ||||||
Summary | 0001702: Tidy ambiguous code in link_add.php | ||||||||
Description | case 'addlink': // Insert the link if ($direction == 'lr') $sql = "INSERT INTO `{$dbLinks}` "; $sql .= "(linktype, origcolref, linkcolref, userid) "; $sql .= "VALUES ('{$linktypeid}', '$origref', '$linkref', '{$sit[2]}')"; mysql_query($sql); if (mysql_error()) trigger_error(mysql_error(),E_USER_ERROR); html_redirect($redirect); break; | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
paulh (administrator) 2011-08-28 13:43 |
Confirm, have tested this here and if direction = 'lr' the next line is run, if its not then its skipped so you end up with broken SQL |
paulh (administrator) 2011-08-28 15:04 |
r7311 and 19e2b1d resolve |
ivan (administrator) 2011-09-04 20:45 |
Fix released in v3.65 |
![]() |
|||
Date Modified | Username | Field | Change |
2011-08-26 16:51 | ivan | New Issue | |
2011-08-28 13:43 | paulh | Note Added: 0004263 | |
2011-08-28 13:43 | paulh | Assigned To | => paulh |
2011-08-28 13:43 | paulh | Status | new => confirmed |
2011-08-28 15:04 | paulh | Note Added: 0004264 | |
2011-08-28 15:04 | paulh | Status | confirmed => resolved |
2011-08-28 15:04 | paulh | Resolution | open => fixed |
2011-08-28 15:04 | paulh | Fixed in Version | => Current SVN |
2011-09-04 17:37 | ivan | Fixed in Version | Current SVN => 3.65 LTS |
2011-09-04 20:45 | ivan | Note Added: 0004286 | |
2011-09-04 20:45 | ivan | Status | resolved => closed |
Copyright © 2000 - 2021 MantisBT Team |