luckyshot / CRMx

CRMx is a super-flexible micro-CRM system for personal, freelance and small businesses. It can be customized very quickly for Customer Relationship Management, Lead Management System, Project Management, To-Do List or any other usage due to its flexibility in customization and scalable code. CRMx allows unlimited users to work in the same or different environments very flexibly. CRMx works through a RESTful API which allows third-party services and other software to interact neatly. CRMx also has a User Access Control system (UAC) to define permissions for each user and have maximum control over the organization.
https://xaviesteve.com/
MIT License
101 stars 39 forks source link

An Error in index file #5

Open asrarahmadehsan opened 7 years ago

asrarahmadehsan commented 7 years ago

In line 40 connection is made proceduraly using mysqliconnect() and its return value is stored in variable $c but in line 213 real escape_ string function is used in object oriented style which throws an error. Please resolve this error as soon as possible.

Thanks

dnutzz commented 7 years ago

This only appears, when the mysqli_connect() could not be established and real_escape_string is called from a $c, which has then bool false.