only variables can be passed by reference on line 713
aalex - November 2, 2005 - 16:37
| Project: | Image |
| Version: | 6.x-1.x-dev |
| Component: | image.module |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
try this on line 713 of image.module, otherwise it gives an error:
$arr = array('name' => t('Image Galleries'), 'multiple' => '0', 'required' => '0', 'hierarchy' => '1', 'relations' => '0', 'module' => 'image', 'nodes' => array('image'))
$vocabulary = taxonomy_save_vocabulary($arr); // here: this is a variable containing an array, not the array itself. 
#1
this has been fixed in recent versions.