6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/12/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1276] Typos in framework/File_PDF/PDF.php
*
Your Email Address
*
Spam protection
Enter the letters below:
. .\ /\ /. .__ |_/ >< >< | [__) | \/ \/ \|___[__)
Comment
> Typos in framework/File_PDF/PDF.php: > > > > diff -u -3 -p -u -r1.19 PDF.php > > --- framework/File_PDF/PDF.php 3 Jan 2005 13:09:04 -0000 1.19 > > +++ framework/File_PDF/PDF.php 28 Jan 2005 20:10:05 -0000 > > @@ -956,9 +956,9 @@ class File_PDF { > > function setFillColor($cs = 'rgb', $c1, $c2 = 0, $c3 = 0, $c4 = 0) > > { > > $cs = strtolower($cs); > > - if ($cs = 'rgb') { > > + if ($cs == 'rgb') { > > $this->_fill_color = sprintf('%.3f %.3f %.3f rg', $c1, > $c2, $c3); > > - } elseif ($cs = 'cmyk') { > > + } elseif ($cs == 'cmyk') { > > $this->_fill_color = sprintf('%.3f %.3f %.3f %.3f k', > $c1, $c2, $c3, $c4); > > } else { > > $this->_fill_color = sprintf('%.3f g', $c1); > > @@ -997,9 +997,9 @@ class File_PDF { > > function setDrawColor($cs = 'rgb', $c1, $c2 = 0, $c3 = 0, $c4 = 0) > > { > > $cs = strtolower($cs); > > - if ($cs = 'rgb') { > > + if ($cs == 'rgb') { > > $this->_draw_color = sprintf('%.3f %.3f %.3f RG', $c1, > $c2, $c3); > > - } elseif ($cs = 'cmyk') { > > + } elseif ($cs == 'cmyk') { > > $this->_draw_color = sprintf('%.3f %.3f %.3f %.3f K', > $c1, $c2, $c3, $c4); > > } else { > > $this->_draw_color = sprintf('%.3f G', $c1); > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers