diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/pfstat.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/pfstat.xml b/packages/pfstat.xml index e827d8e2..e9ffc438 100644 --- a/packages/pfstat.xml +++ b/packages/pfstat.xml @@ -192,6 +192,10 @@ $isfirstright = 0; $fromclassification = $rowhelper['fromclassification']; $imagename = $rowhelper['imagename']; + $pos = strrpos($imagename, ".jpg"); + if ($pos === false) { + $imagename .= ".jpg"; + } $from = $rowhelper['from']; $graphsizewidth = $rowhelper['graphsizewidth']; $graphsizeheight = $rowhelper['graphsizeheight']; |