The correct syntay for comparison is imho “==”
If I understand that right then the problem is inside PHP (maybe the construct !$variable).
And maybe there are some more places inside dolibarr which ends up with this error…
Best thing is to wrote a bugreport on github
I used that, but some sections like the Signature side and the salary side returned the error…
Let me put it using the standard practice and see the result again, then i can forward to github
Thank you @DG-Rilling
1 Like
Hi, I have used the “==” and it modified, only the same area which is the signature field that threw the error 403 forbidden error
Hi there,
I have the same problem. However, I noticed that disabling the security (in my case, ModSecurity) on my web hosting removes the issue. I then contacted my web hosting provider, and they told me to add this code to the .htaccess
file:
perl
Copier le code
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# Disable specific ModSecurity rules
It hasn’t worked for me yet, but it’s clear the problem is related to ModSecurity.
Hope this helps, and if anyone has an idea on how to fix my problem, please let me know 