Subversion Repositories oidplus

Rev

Rev 1183 | Rev 1206 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1183 Rev 1201
Line 146... Line 146...
146
 
146
 
147
                                        if ($num == 0) {
147
                                        if ($num == 0) {
148
                                                $out['text'] .= _L('Everything OK!');
148
                                                $out['text'] .= _L('Everything OK!');
149
                                        }
149
                                        }
150
                                } catch (\Exception $e) {
150
                                } catch (\Exception $e) {
-
 
151
                                        $htmlmsg = $e instanceof OIDplusException ? $e->getHtmlMessage() : htmlentities($e->getMessage());
151
                                        $out['text'] .= mb_strtoupper(_L('Error')).': '.htmlentities($e->getMessage());
152
                                        $out['text'] .= mb_strtoupper(_L('Error')).': '.$htmlmsg;
152
                                }
153
                                }
153
 
154
 
154
                                $out['text'] .= '</pre>';
155
                                $out['text'] .= '</pre>';
155
                        }
156
                        }
156
                } else {
157
                } else {