Fatal error when submitting another form on the same page as aes_view_password_form

rjmackay - July 2, 2009 - 05:35
Project:AES encryption
Version:6.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I get this message when submitting another form that lives on the same page as aes_view_password_form

Fatal error: Cannot use string offset as an array in /var/www/signon/includes/form.inc on line 979

Eventually tracked this back to line 287 in aes.module

<?php
function aes_view_password_form($form, $password) {

// should be:
function aes_view_password_form($form_state, $password) {
?>

I can roll this into a patch if needed - but its a 1 line fix :)

#1

easyfit - July 20, 2009 - 07:15

Hey

Sorry for taking so long to respond to this, I've been on vacation. I'll get a new version out soon which will fix this issue, thank you for reporting this.

#2

easyfit - October 12, 2009 - 17:57
Status:active» fixed

Fixed in 1.4, thanks!

#3

System Message - October 26, 2009 - 18:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.