Page MenuHomeDevCentral

D3610.id9335.diff
No OneTemporary

D3610.id9335.diff

diff --git a/network/mx.php b/network/mx.php
--- a/network/mx.php
+++ b/network/mx.php
@@ -17,7 +17,7 @@
</form>
<?php
function is_domain ($string) {
- return preg_match($string, '/[a-zA-Z\d-]{,63}(\.[a-zA-Z\d-]{,63})*/');
+ return preg_match('/[a-zA-Z\d-]{,63}(\.[a-zA-Z\d-]{,63})*/', $string);
}
function print_mx ($domain) {

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 10:08 (10 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2306178
Default Alt Text
D3610.id9335.diff (336 B)

Event Timeline