Rev 1130 | Rev 1219 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1130 | Rev 1201 | ||
---|---|---|---|
Line 243... | Line 243... | ||
243 | // Search with NoJS/HTML |
243 | // Search with NoJS/HTML |
244 | $out['text'] .= $this->doSearch($params); |
244 | $out['text'] .= $this->doSearch($params); |
245 | } |
245 | } |
246 | $out['text'] .= '</div>'; |
246 | $out['text'] .= '</div>'; |
247 | } catch (\Exception $e) { |
247 | } catch (\Exception $e) { |
- | 248 | $htmlmsg = $e instanceof OIDplusException ? $e->getHtmlMessage() : htmlentities($e->getMessage()); |
|
248 | $out['text'] = _L('Error: %1',$e->getMessage()); |
249 | $out['text'] = _L('Error: %1',$htmlmsg); |
249 | } |
250 | } |
250 | } |
251 | } |
251 | } |
252 | } |
252 | 253 | ||
253 | /** |
254 | /** |