Update of /cvsroot/mantisbt/mantisbt
In directory usw-pr-cvs1:/tmp/cvs-serv17016
Modified Files:
print_all_bug_page.php
Log Message:
Fixed a warning in the print_all_bug_page.php where f_limit_view was used
without being defined.
Index: print_all_bug_page.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/print_all_bug_page.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- print_all_bug_page.php 14 Jun 2002 05:36:48 -0000 1.23
+++ print_all_bug_page.php 25 Jun 2002 09:20:58 -0000 1.24
@@ -21,7 +21,6 @@
check_varset( $f_search, false );
check_varset( $f_offset, 0 );
-
# Load preferences
$f_show_category = $t_setting_arr[1];
$f_show_severity = $t_setting_arr[2];
@@ -44,7 +43,7 @@
$c_offset = (integer)$f_offset;
$c_user_id = (integer)$f_user_id;
$c_assign_id = (integer)$f_assign_id;
- $c_limit_view = (integer)$f_limit_view;
+ $c_per_page = (integer)$f_per_page;
$c_show_category = addslashes($f_show_category);
$c_show_severity = addslashes($f_show_severity);
$c_show_status = addslashes($f_show_status);
@@ -164,9 +163,7 @@
$query = $query.', priority DESC';
}
- if ( isset( $f_limit_view ) ) {
- $query = $query." LIMIT $c_offset, $c_limit_view";
- }
+ $query = $query." LIMIT $c_offset, $c_per_page";
# perform query
$result = db_query( $query );
@@ -256,7 +253,7 @@
</select>
</td>
<td>
- <input type="text" name="f_per_page" size="3" maxlength="7" value="<?php echo $f_limit_view ?>">
+ <input type="text" name="f_per_page" size="3" maxlength="7" value="<?php echo $f_per_page ?>">
</td>
<td>
<input type="text" name="f_highlight_changed" size="3" maxlength="7" value="<?php echo $f_highlight_changed ?>">
|