View Issue Details

IDProjectCategoryView StatusLast Update
0022864mantisbtcode cleanuppublic2017-06-04 14:58
Reportercproensa Assigned Tocproensa  
PrioritynormalSeveritytextReproducibilityhave not tried
Status closedResolutionfixed 
Product Version2.4.2 
Target Version2.5.0Fixed in Version2.5.0 
Summary0022864: phpdoc for 'print_link_button' has incorrect order of parameters
Description

Currently:

/**
 * print a HTML link with a button look
 * @param string  $p_link       The page URL.
 * @param string  $p_url_text   The displayed text for the link.
 * @param boolean $p_new_window Whether to open in a new window.
 * @param string  $p_class      The CSS class of the link.
 * @return void
 */
function print_link_button( $p_link, $p_url_text, $p_class = '', $p_new_window = false )
TagsNo tags attached.

Activities

cproensa

cproensa

2017-05-12 14:44

developer   ~0056842

PR https://github.com/mantisbt/mantisbt/pull/1106

dregad

dregad

2017-05-13 08:37

developer   ~0056844

Creating an issue for a simple PHPDoc fix was probably overdoing it ;-)

Related Changesets

MantisBT: master 0316eb9b

2017-05-13 08:38:51

cproensa


Committer: dregad Details Diff
Fix PHPDoc for print_link_button()

Fix order of parameters

Fixes 0022864
Affected Issues
0022864
mod - core/print_api.php Diff File