#24799 [Ver]: Warnings at pear.php.net

From: Date: Thu, 31 Jul 2003 11:24:55 +0000
Subject: #24799 [Ver]: Warnings at pear.php.net
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-19030@lists.php.net to get a copy of this message
ID: 24799 Updated by: mj@php.net Reported By: tony2001 at phpclub dot net Status: Verified Bug Type: PEAR related Operating System: doesn't matter PHP Version: Irrelevant Assigned To: mj New Comment: We'll update PHP as soon as possible (or move to another machine, whatever comes next). For now the patch seems to be sufficient. (I'll apply it later.) Previous Comments: ------------------------------------------------------------------------ [2003-07-31 06:24:51] mj@php.net We'll update PHP as soon as possible (or move to another machine, whatever comes next). For now the patch seems to be sufficient. (I'll apply it later.) ------------------------------------------------------------------------ [2003-07-31 05:03:33] tony2001 at phpclub dot net >It's already used in the same file and it was only forgot in 2 places. aha.. got it. >Btw there is nothing else that can be used... why upgrade is not acceptable solution? ------------------------------------------------------------------------ [2003-07-31 04:57:50] nicos@php.net It's already used in the same file and it was only forgot in 2 places. Btw there is nothing else that can be used... ------------------------------------------------------------------------ [2003-07-31 04:48:15] tony2001 at phpclub dot net no, support of KOI8-R was added only in 4.3.2. of course, @ is a possible solution, but not the best imho. ------------------------------------------------------------------------ [2003-07-31 04:37:57] nicos@php.net Here is a patch that could hide the warning until we fix the real problem: Index: pear-manual.php =================================================================== RCS file: /repository/pearweb/include/pear-manual.php,v retrieving revision 1.21 diff -u -u -r1.21 pear-manual.php --- pear-manual.php 28 May 2003 18:00:09 -0000 1.21 +++ pear-manual.php 31 Jul 2003 09:37:01 -0000 @@ -104,13 +104,13 @@ echo '<tr><td>'; if ($PREV[1]) { - print_link( $PREV[0] , make_image('caret-l.gif', 'previous') . htmlspecialchars($PREV[1],ENT_QUOTES,$CHARSET) ) ; + print_link( $PREV[0] , make_image('caret-l.gif', 'previous') . @htmlspecialchars($PREV[1],ENT_QUOTES,$CHARSET) ) ; } echo '<br /></td>'; echo '<td align="right">'; if ($NEXT[1]) { - print_link( $NEXT[0] , htmlspecialchars($NEXT[1],ENT_QUOTES,$CHARSET) . make_image('caret-r.gif', 'next') ) ; + print_link( $NEXT[0] , @htmlspecialchars($NEXT[1],ENT_QUOTES,$CHARSET) . make_image('caret-r.gif', 'next') ) ; } echo '<br /></td>'; echo '</tr>'; ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/24799 -- Edit this bug report at http://bugs.php.net/?id=24799&edit=1

« previous php.pear.dev (#19030) next »