Forums Sign Up Reply Search Statistics
Fast Template GraFX Software Solutions - Forum / Fast Template /

small fix for 1.5.1

 
Author gremboloid
Forums Member
#1 Posted: 6 Feb 2007 13:31:38
Reply 
If to use in a template:

<!-- IFDEF: USER_SURNAME -->
Users surname: {USER_SURNAME}
<!-- ELSE -->
<i>Users surname is not defined</i>
<!-- ENDIF -->

php generates the Notice

fix :
in function value_defined
find
if ($field{0}=='.') $field = substr($field, 1);

replace
if (isset($field{0}) && $field{0}=='.') $field = substr($field, 1);
Author software
Admin
#2 Posted: 7 Feb 2007 11:02:56
Reply 
OK, we will verify and fix it.
 
Your Reply

» Username  » Password 
Only registered users are allowed to post here. Please enter your login/password details upon posting a message, or sign up first.