View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0008490 | mantisbt | administration | public | 2007-10-20 10:49 | 2007-10-24 02:27 |
| Reporter | seiji | Assigned To | vboctor | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 1.1.0rc1 | ||||
| Fixed in Version | 1.1.0rc2 | ||||
| Summary | 0008490: Undefined variable: t_version in manage_proj_ver_copy.php | ||||
| Description | When I copy version to other project, following error message is displayed. SYSTEM NOTICE: Undefined variable: t_version | ||||
| Steps To Reproduce |
| ||||
| Additional Information | add to config_inc.php $g_display_errors = array( | ||||
| Tags | patch | ||||
| Attached Files | patch.txt (657 bytes)
Index: /home/sogabe/public_html/mantis/manage_proj_ver_copy.php
===================================================================
--- /home/sogabe/public_html/mantis/manage_proj_ver_copy.php (revision 130)
+++ /home/sogabe/public_html/mantis/manage_proj_ver_copy.php (working copy)
@@ -50,7 +50,7 @@
$t_rows = version_get_all_rows( $t_src_project_id );
foreach ( $t_rows as $t_row ) {
- if ( version_is_unique( $t_version, $t_dst_project_id ) ) {
+ if ( version_is_unique( $t_row['version'], $t_dst_project_id ) ) {
version_add( $t_dst_project_id, $t_row['version'], $t_row['released'], $t_row['description'], $t_row['date_order'] );
}
}
| ||||