mediawiki-extensions / wiki2latex

Automatically exported from code.google.com/p/wiki2latex
0 stars 0 forks source link

Notice: Undefined index: style in extensions/w2l/contrib/math.php on line 23 #62

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. add 
  error_reporting(E_ALL);
  ini_set("display_errors", 1);
to LocalSettings

2. make sure that 
include('contrib/math.php');            // Adds math-support
is uncommented in w2lConfig

3. Export any article with math (e.g. in the textarea)

What is the expected output? What do you see instead?

I see php notices like
Undefined index: style in ../extensions/w2l/contrib/math.php on line 23
on the top.

Please provide any additional information below.

I guess that isset check should be changed to something like
  if ( isset($argv['style']) && $argv['style'] == 'display' ) {

Original issue reported on code.google.com by semiza...@gmail.com on 16 Feb 2011 at 2:47

GoogleCodeExporter commented 8 years ago
Thank you very much for your report. The notice has been fixed.

Original comment by hansgeorg.kluge@gmail.com on 17 Feb 2011 at 8:13