system.module is causing an error message when xtemplate theme is used

The error message details are:
Type: error
Date: Saturday, 22 Novembro, 2003 - 00:47
User: editor
Location: /drupal/?q=admin/system/themes/xtemplate
Message warning: Missing argument 2 for system_view_theme() in /home/virtual/drupal/drupal-4.3.0/modules/system.module on line 170.
Hostname xxx.xxx.xxx.xxx

I examined the system module and suspect the line 241, transcripted below, is the cause of the error, I added a second parameter to function call and the error message disapears,
but I don't know if it is the best project choice to solve the problem.

So, as a suggestion:
Original syntax for line 241: $form = system_view_theme($arg);
New syntax for line 241: $form = system_view_theme($arg,$param);

If you find a better solution, please, describe it here.

Thanks

Comments

Kjartan’s picture

Anonymous’s picture