Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write 0 in table cell. #113

Closed
aksld opened this issue Dec 1, 2018 · 3 comments
Closed

Write 0 in table cell. #113

aksld opened this issue Dec 1, 2018 · 3 comments

Comments

@aksld
Copy link

aksld commented Dec 1, 2018

Hello,

I made a simple table with ezTable() but I can't write the caracter 0 in table cell.

For example '00' is working but not '0'.

In Cpdf.php, line 2945 :

if ( empty($text)) {
            return '';
}

We need to replace empty() by other check. Maybe can we use ! strlen() ?

@aksld
Copy link
Author

aksld commented Dec 1, 2018

(updated)

@ole1986
Copy link
Collaborator

ole1986 commented Dec 1, 2018

Thank you for reporting.
I will fix this asap..

@aksld
Copy link
Author

aksld commented Dec 1, 2018

No problem, thank you for this work :)

ole1986 pushed a commit that referenced this issue Dec 8, 2018
@ole1986 ole1986 closed this as completed Dec 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants