I have a problem. I should receive attachment parameters, but with a point it doesn't work:
if (isset($doc->doc->_attachments->ico.gif)) //Error 500
How should it be done?
I have a problem. I should receive attachment parameters, but with a point it doesn't work:
if (isset($doc->doc->_attachments->ico.gif)) //Error 500
How should it be done?
I don't have PHP here to check, but if the problem is with the ".", perhaps the syntax mentioned in the answer to this question will help, ie
<?php
if (isset($doc->doc->_attachments->{'ico.gif'}))