View Issue Details

IDProjectCategoryView StatusLast Update
0016482mantisbtbugtrackerpublic2014-12-08 02:07
Reporteratrol Assigned Todregad  
PriorityimmediateSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.0dev 
Target Version1.3.0-beta.1 
Summary0016482: Broken bugnote API following removal of legacy db_prepare_int calls
Description

Commit a61aed3b0b1f89e7e978be486beeac97492a83c0 introduced a major regression.

The function bugnote_add uses undefined variable $c_user_id instead of using $p_user_id

The function bugnote_stats_get_events_array uses undefined variable $c_bug_id

TagsNo tags attached.

Activities

govind

govind

2013-12-01 22:04

reporter   ~0038714

sdfgdf

govind

govind

2013-12-01 22:05

reporter   ~0038754

xdfjghjgh

Related Changesets

MantisBT: master 30c28e3d

2013-10-14 09:58

dregad


Details Diff
Bugnote api: db_prepare_int() and db_query()

- Removed occurences of unused or uses of undefined c_XXX variables
- Removed one call to db_prepare_int()
- Replaced inline query parameters by bound ones, and calls to
db_query() by db_query_bound()

Fixes 0016482
Affected Issues
0016482
mod - core/bugnote_api.php Diff File