Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
34468644
Commit
34468644
authored
9 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/3.5' into 3.6
parents
f4da53c3
fa8defa1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+1
-0
1 addition, 0 deletions
ChangeLog
htdocs/product/class/product.class.php
+1
-1
1 addition, 1 deletion
htdocs/product/class/product.class.php
with
2 additions
and
1 deletion
ChangeLog
+
1
−
0
View file @
34468644
...
...
@@ -210,6 +210,7 @@ Fix: [ bug #2976 ] "Report" tab is the current tab but it is not marked as selec
Fix: [ bug #2861 ] Undefined variable $res when migrating
Fix: [ bug #2837 ] Product list table column header does not match column body
Fix: [ bug #2835 ] Customer prices of a product shows incorrect history order
Fix: [ bug #2814 ] JPEG photos are not displayed in Product photos page
***** ChangeLog for 3.5.6 compared to 3.5.5 *****
Fix: Avoid missing class error for fetch_thirdparty method #1973
...
...
This diff is collapsed.
Click to expand it.
htdocs/product/class/product.class.php
+
1
−
1
View file @
34468644
...
...
@@ -3196,7 +3196,7 @@ class Product extends CommonObject
if
(
!
utf8_check
(
$file
))
$file
=
utf8_encode
(
$file
);
// To be sure file is stored in UTF8 in memory
if
(
dol_is_file
(
$dir
.
$file
)
&&
preg_match
(
'/(\.jpg|\.bmp|\.gif|\.png|\.tiff)$/i'
,
$dir
.
$file
))
if
(
dol_is_file
(
$dir
.
$file
)
&&
preg_match
(
'/(\.jp
(e?)
g|\.bmp|\.gif|\.png|\.tiff)$/i'
,
$dir
.
$file
))
{
$nbphoto
++
;
$photo
=
$file
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment