note 91673 added to function.imagecolorclosesthwb
| From: | Xong at osu1 dot php dot net | Date: | Mon, 22 Jun 2009 14:53:41 +0000 |
| Subject: | note 91673 added to function.imagecolorclosesthwb | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-157235@lists.php.net to get a copy of this message | ||
Sorry, there is a little flaw in my Code.
The line
$givenColorRGB = is_array($givenColorRGB)?$givenColorRGB:str2rgb($givenColor);
musst be replaced with
$givenColorRGB = is_array($givenColor?$givenColor:str2rgb($givenColor);
----
Server IP: 212.124.37.9
Probable Submitter: 93.214.142.138
----
Manual Page -- http://www.php.net/manual/en/function.imagecolorclosesthwb.php
Edit -- https://master.php.net/note/edit/91673
Del: integrated -- https://master.php.net/note/delete/91673/integrated
Del: useless -- https://master.php.net/note/delete/91673/useless
Del: bad code -- https://master.php.net/note/delete/91673/bad+code
Del: spam -- https://master.php.net/note/delete/91673/spam
Del: non-english -- https://master.php.net/note/delete/91673/non-english
Del: in docs -- https://master.php.net/note/delete/91673/in+docs
Del: other reasons-- https://master.php.net/note/delete/91673
Reject -- https://master.php.net/note/reject/91673
Search -- https://master.php.net/manage/user-notes.php