Add new attribute not saving 2.10.14

Discuss, research, share, find, and solve bugs

Add new attribute not saving 2.10.14

Postby dsided » 10:03am, Mon 04 Jul, 2011

When I'm on the Add new attribute page
/lists/admin/?page=attributes

The save changes button doesn't work. Looking at the browser source I can see the following where there should be a <form tag:
Code: Select all
<?=formStart()?>
on line 298

If you change this to
Code: Select all
<?php echo formStart()?>


You can save your attributes.
dsided
phpLister
 
Posts: 10
Joined: 5:47pm, Thu 30 Jul, 2009

Re: Add new attribute not saving 2.10.14

Postby duncanc » 10:08pm, Wed 06 Jul, 2011

The problem appears to be caused by the use of PHP short tags <?= and ?>
This appears to be a deliberate change between 2.10.13 and 2.10.14
2.10.13
Code: Select all
<?php echo formStart()?>

2.10.14
Code: Select all
<?=formStart()?>


This seems a very odd change to make as short tags are often disabled, and so cause the kind of problem you have seen.
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London


Return to Bug Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron