Changeset 1713

Show
Ignore:
Timestamp:
05/21/07 08:24:14 (17 months ago)
Author:
mbonetti
Message:

Fix for a PHP warning in the injected js code

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/plugins/keyboardnavigation.php

    r1712 r1713  
    170170            <?php 
    171171                foreach(__kbnav_config_action_keys() as $action => $data) { 
    172                     printf( "\tcase '%s': return %s();break;\n",  ($data['modifier'] == 'shift' ? strtoupper($data['key']):strtolower($data['key'])), $action); 
     172                    printf( "\tcase '%s': return %s();break;\n",  (@$data['modifier'] == 'shift' ? strtoupper($data['key']):strtolower($data['key'])), $action); 
    173173                } 
    174174            ?>