From 794eed327d48954361586bfe36072f3ca02f9c49 Mon Sep 17 00:00:00 2001 From: David Mudrak Date: Thu, 18 Mar 2010 18:47:39 +0000 Subject: [PATCH] MDL-20204 fixed calling of undefined method --- lib/deprecatedlib.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/deprecatedlib.php b/lib/deprecatedlib.php index bdf0143af1f..f3b82ae40e2 100644 --- a/lib/deprecatedlib.php +++ b/lib/deprecatedlib.php @@ -2484,7 +2484,6 @@ function button_to_popup_window ($url, $name=null, $linkname=null, $form = new single_button($url, $text, 'post'); $form->button->title = $title; $form->button->id = $id; - $form->add_class($class); // Parse the $options string $popupparams = array();