Review main Abandoned

3065[BUGFIX] Fix fatal error when using caching framework and eID scripts

Michael Stucki CR 0 V 0 Easy +37 −11 updated 06/03/13, 20:49

Commit message

When using the caching framework and calling an eID script containing
locallang labels, it may happen that data from cache_hash is tried to be
accessed.

As there is no caching framework initialized at this time of execution,
a fatal error is triggered:
A cache with identifier "cache_hash" does not exist

Fix the error by checking if the caching framework is initialized,
otherwise skip its usage.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1