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
27688786
Commit
27688786
authored
7 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
FIX Bad condition on sms log debug
parent
d88a75b6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/core/class/CSMSFile.class.php
+3
-2
3 additions, 2 deletions
htdocs/core/class/CSMSFile.class.php
with
3 additions
and
2 deletions
htdocs/core/class/CSMSFile.class.php
+
3
−
2
View file @
27688786
...
...
@@ -107,6 +107,7 @@ class CSMSFile
if
(
empty
(
$conf
->
global
->
MAIN_DISABLE_ALL_SMS
))
{
// Action according to choosed sending method
if
(
$conf
->
global
->
MAIN_SMS_SENDMODE
==
'ovh'
)
// Backward compatibility @deprecated
{
...
...
@@ -129,7 +130,7 @@ class CSMSFile
{
dol_syslog
(
"CSMSFile::sendfile: sms send success with id="
.
$res
,
LOG_DEBUG
);
//var_dump($res); // 1973128
$this
->
dump_sms_result
(
$res
);
if
(
!
empty
(
$conf
->
global
->
MAIN_SMS_DEBUG
))
$this
->
dump_sms_result
(
$res
);
}
}
else
if
(
!
empty
(
$conf
->
global
->
MAIN_SMS_SENDMODE
))
// $conf->global->MAIN_SMS_SENDMODE looks like a value 'class@module'
...
...
@@ -159,7 +160,7 @@ class CSMSFile
{
dol_syslog
(
"CSMSFile::sendfile: sms send success with id="
.
$res
,
LOG_DEBUG
);
//var_dump($res); // 1973128
$this
->
dump_sms_result
(
$res
);
if
(
!
empty
(
$conf
->
global
->
MAIN_SMS_DEBUG
))
$this
->
dump_sms_result
(
$res
);
}
}
catch
(
Exception
$e
)
...
...
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