Page MenuHomeDevCentral

D3610.diff
No OneTemporary

D3610.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
Thu, Dec 19, 18:02 (21 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2306178
Default Alt Text
D3610.diff (336 B)

Event Timeline