hi,
I guess this has already been fixed, but just in case ...
I downloaded and set up the asset module and enabled asset panels ... I got a message error warning me for an " unexpected '{' " on line 21 of the asset_panels.module ...

here's what the line looked like :
if (function_exists(i18n_get_lang) {

how I obviously fixed it :
if (function_exists(i18n_get_lang)) {

CommentFileSizeAuthor
#5 234805.patch770 bytesezra-g
#2 asset_panels.patch.txt665 bytesalex ua

Comments

ezra-g’s picture

Title: ")" missing ... » unexpected '{' in asset_panels.module on line 21

Using the latest checkout from DRUPAL-5 (which is version 5.x-2.0-beta1) I'm also getting this error. I would submit a patch, but I'm not clear on where the syntax error actually is since PHP still reports an error on line 21 with lines 19-24 commented out.

alex ua’s picture

Status: Active » Needs review
StatusFileSize
new665 bytes

Here's a patch for this...

ezra-g’s picture

Status: Needs review » Needs work

This did not apply:

Hunk #1 FAILED at 18.

Thanks for this patch -- I apologize for not catching your note about not submitting bug reports to this component without a patch.

ezra-g’s picture

Assigned: Unassigned » ezra-g

I'l reroll this in a moment.

ezra-g’s picture

Status: Needs work » Needs review
StatusFileSize
new770 bytes

This resolved the issue for me.

zroger’s picture

Status: Needs review » Fixed

committed to 5.x-2.0-dev

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.