CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Bug with form event_id and sessions
Pages: [1]

Author Topic: Bug with form event_id and sessions  (Read 583 times)

najoory

  • Guest
Bug with form event_id and sessions
May 10, 2010, 01:40:44 pm
I open event form with event_id = 10. Then open second event form with event_id = 20 in separate tab. Then return into form #1 with id = 10 and make submit. Into hook_civicrm_validate I try this:
$id = $form->getVar('_id');

$id equal 20. I think it is not stable decision to transfer event_id through session. Better way is hidden input with event_id.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Bug with form event_id and sessions

This forum was archived on 2017-11-26.