From 4957530dec4fea360bac9e5da8f8d5b2ad51cd9b Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Thu, 02 Jan 2014 06:43:04 -0500
Subject: [PATCH] Fix an obvious mistake in search_once() casing wrong result when called with empty 2nd argument (which also is not what should happen, should we return error?)

---
 program/lib/Net/IDNA2/Exception/Nameprep.php |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/program/lib/Net/IDNA2/Exception/Nameprep.php b/program/lib/Net/IDNA2/Exception/Nameprep.php
index a753e17..44cbd6b 100644
--- a/program/lib/Net/IDNA2/Exception/Nameprep.php
+++ b/program/lib/Net/IDNA2/Exception/Nameprep.php
@@ -1,5 +1,6 @@
-<?php
-require_once 'Net/IDNA2/Exception.php';
-
-class Net_IDNA2_Exception_Nameprep extends Net_IDNA2_Exception {
-}
\ No newline at end of file
+<?php
+require_once 'Net/IDNA2/Exception.php';
+
+class Net_IDNA2_Exception_Nameprep extends Net_IDNA2_Exception
+{
+}

--
Gitblit v1.9.1