View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Select Error in BillLine.php - ProjeQtOr

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

Select Error in BillLine.php

More
26 Oct 2016 16:32 #1 by antonio.grr
Hi.
In BillLine.php the lines

$crit.=" and workDate>=\"".$this->startDate."\"";
$crit.=" and workDate<=\"".$this->endDate."\"";

in function save and in function delete use double quote for date values. This is not allowed by postgres.
The same query fails when you do not enter start/ end date in form, as query is executed before validating mandatory field.
I fixed in this way

if ($this->startDate) $crit.=" and workDate>'" . $this->startDate . "'";
if ($this->endDate) $crit.=" and workDate<'" . $this->endDate . "'";
Best regards
The following user(s) said Thank You: babynus
The topic has been locked.
More
26 Oct 2016 17:31 #2 by babynus
Thanks for the fix.
It will be included in next version.

Babynus
Administrator of ProjeQtOr web site
The topic has been locked.
Moderators: babynusprotion
Time to create page: 0.031 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.